/* bookmark */
            var bookmarkurl="http://www.elisanet.fi/ringtones/"
            var bookmarktitle="Crazy Frog Australia Free Ringtones CrazyFrog Mobile games, Ringtones and logos"
            function addbookmark(){
                if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle)
            }
            /* homepage */
            function makeHomePage(obj, url) {
                o = eval(obj);
                o.style.behavior='url(#default#homepage)';
                o.setHomePage(url);
            }
			function jsOpenWnd(id,name,img,ps,mpf){
			p="height=660,width=380,toolbar=no,directories=no,status=no,scrollbars=auto,resizable=no,menubar=no";hWnd=window.open('http://www.sonnerie.net/external/DrtTop/dl_NEW_ALL.php?f=c_15&a=randome&c=au&type=15&id='+id+'&son_nom='+name+'&ps='+ps+'&logo_image='+img+'&lang=es&mpf='+mpf,"Hwnd",p);hWnd.focus();
			}
            /* search script */
            function _mSearch(){
                fl=true;f=document.forms['_mFind'];
                if(fl==true&&f._mService.value==''){alert('Please select a category!');fl=false;}
                if(fl==true&&f._mKeyWord.value==''){alert('Please precise a keyword!');fl=false;}
                if(fl==true){
                    if (f._mService.value == '/index.php') {
                        var base = document.mpCont.location+'';var t1 = base.indexOf('page=');var t2 = base.indexOf('&cat=');
                        if (t1 > -1) {tp1 = base.substring(0, t1);tp2 = base.substring(t2);mod = tp1+'page=0'+tp2;}
                        var ti = mod.indexOf('k=');
                        if (ti > -1) {tu = mod.substring(0,ti-1)+'&k='+f._mKeyWord.value;} else {tu = mod+'&k='+f._mKeyWord.value;}
                        document.mpCont.location = tu;
                    } else {loc = f._mService.value+'?k='+f._mKeyWord.value;self.location = loc;}
                }
            }
            function _mKp() { if (window.event.keyCode == 13) { _mSearch(); } return false; }
            /* misc */
            function winclo() {
                //window.open('popup_pub/fin_ete.htm','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=432, height=385, left=0, top=0');
            }
            function jsOpenhWnd(u){p="height=350,width=430,toolbar=no,directories=no,status=no,scrollbars=auto,resizable=no,menubar=no";hWnd=window.open(u,"Hwnd",p);hWnd.focus();}
            function popupnewsletter(t){
                window.open("http://www.sonnerie.net/popup_newsletter.php", t, "width=349,height=193,resizable=no,scrollbars=no");
                return true;
            }
            function GetImage() {
                window.open('http://www.sonnerie.net/photoperso/index.php?la=EN&a=randome','_blank','toolbar=0, location=0, directories=0, status=1, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=430, height=350, left=20, top=20');
            }
			function subscription() {
                window.open('http://account.mediaplazza.com/abo/abo_signup_1.php?slang=EN&c=au&svhost=randome','vimpass','width=425,height=400,toolbar=no,directories=no,status=yes,scrollbars=yes,resizable=yes,menubar=no');
            }
			
			function   popupavril()
 					 { 
 				  window.open('premierAvES.php?a=&lt;?=$CleanVhost?&gt;&amp;bodycolor=&lt;?=$couleur_de_fond_de_page?&gt;','_blank','height=350,width=350,resizable=no,status=no,toolbar=no,menubar=no,location=no,scrollbars=no'); 
	
					}
