function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 140) { $('wordCounter').innerHTML = "" + $('usrMessage').value.length + ""; } else { $('wordCounter').innerHTML = "" + $('usrMessage').value.length + ""; } } function sendAjaxRequest(link) { new Ajax.Request(link, { asynchronous:true, evalScripts:true}); return false; } function get_flash(id,path,width,height,codebase_version,classid) { var tag = document.getElementById(id); var code = ''; code = ''; code += ''; code += ''; tag.innerHTML = code; } var predCountry = null; var predMatheric = null; function CountryClick(el) { if(el == predCountry) return; if(predCountry) predCountry.style.display = "none"; if(el) el.style.display = ""; predCountry = el; } function MathericClick(el) { if(el == predMatheric) return; if(predMatheric) predMatheric.style.display = "none"; if(el) el.style.display = ""; predMatheric = el; } //--- popup var popUpWin = 0; function popUpWindow(URLStr, left, top, width, height) { if (popUpWin) { if (!popUpWin.closed) popUpWin.close(); } popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width=' + width + ',height=' + height + ',left=' + left + ', top=' + top + ',screenX=' + left + ',screenY=' + top + ''); } //popUpWindow("popup\\march8.htm", 0, 0, 300, 200); //--- /popup