//////////////////////////////////////////////////////////////////////////////// // Some common variables mm_speaker_url = "images/speaker.gif"; //////////////////////////////////////////////////////////////////////////////// function act(imgName) { if (document.images) { document.images[imgName].src = eval(imgName + "b.src"); } } //////////////////////////////////////////////////////////////////////////////// function inact(imgName) { if (document.images) { document.images[imgName].src = eval(imgName + "a.src"); } } //////////////////////////////////////////////////////////////////////////////// function mobilemoneysale(ordernumber,pos) { mmrefname = 'fonez'; mmlanguage = 'xx'; mmpskin = 'default'; window.open('http://www.mobilemoney.biz/salespopup.asp?pos='+escape(pos)+'&ordernumber='+escape(ordernumber)+'&refname='+escape(mmrefname)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=468,height=550,left='+eval((screen.availWidth/2)-234)+',top=50'); } //////////////////////////////////////////////////////////////////////////////// function listenwindow(listenurl) { window.open(listenurl, 'Listen', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=150,height=150,left='+eval((screen.availWidth/2)-75)+',top=50'); } //////////////////////////////////////////////////////////////////////////////// function getparam(lookfor) { // Try to get our own param that tells us where to start var st = new String(document.location); var start = st.indexOf (lookfor); if (start != -1) { st = st.substring (start); start = st.indexOf ('='); st = st.substring (start+1); eind = st.indexOf ('&'); if (eind == -1) { eind = st.length; } st = st.replace (/\+/g, ' '); var st = unescape (st.substring (0, eind)); } else { st = "" } return st; } //////////////////////////////////////////////////////////////////////////////// function helpform() { mmrefname = 'fonez'; mmlanguage = 'xx'; mmpskin = ''; window.open('http://www.mobilemoney.biz/salespopup.asp?refname='+mmrefname+'&language='+mmlanguage+'&action=help&popupskin='+mmpskin,'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=468,height=550,left='+eval((screen.availWidth/2)-234)+',top=50'); } //////////////////////////////////////////////////////////////////////////////// function mobileeditor(contenttype, data, pos) { mmrefname = 'fonez'; mmlanguage = 'xx'; mmpskin = ''; mmdata = data; switch (contenttype*1) { case 16: case 19: screenwidth = 520; screenheight = 300; break; case 17: screenwidth = 520; screenheight = 400; break; case 15: screenwidth = 575; screenheight = 505; break; case 27: screenwidth = 500; screenheight = 497; break; } window.open('http://www.mobilemoney.biz/editor.asp?contenttype='+escape(contenttype)+'&refname='+escape(mmrefname)+'&mmdata='+escape(mmdata)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'editorpopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+screenwidth+',height='+screenheight+',left='+eval((screen.availWidth/2)-234)+',top=50'); }