function get_cookie(Name) { 
var search = Name + "=" 
var returnvalue = ""; 
if (document.cookie.length > 0) { 
offset = document.cookie.indexOf(search) 
if (offset != -1) {// if the cookie exists 
offset += search.length 
end = document.cookie.indexOf(";", offset);// set the index of beginning value 
if (end == -1)// set the index of the end of cookie value 
end = document.cookie.length; 
returnvalue=unescape(document.cookie.substring(offset, end)) 
} 
} 
return returnvalue; 
} 
function loadornot(){ 
if (get_cookie('popunder')==''){ 
load_pop_power() 
document.cookie="popunder=yes" 
} 
} 
function load_pop_power(){ 
win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],"bw",p) 
win2.blur() 
window.focus() 
} 
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=320,left = 312,top = 224');");
}
function passText(str) {
document.ratedisplay.rate.value = str;
}
function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.style.cursor = 'hand'; 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgColor = clrIn; 
			} 
}  
function mClk(src){ 
	if(event.srcElement.tagName=='TD')
		src.children.tags('A')[0].click();
}
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; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_openBrWindow(theURL) { //v2.0
  window.open(theURL,"","toolbar=0,status=0,scrollbars=0,resizable=0,width=300,height=350,left=100,top=100,screenX=100,screenY=100");
}
function FreeTrialW(theURL) { //v2.0
  window.open(theURL,"","toolbar=0,status=0,scrollbars=0,resizable=0,width=420,height=250,left=100,top=100,screenX=100,screenY=100");
}
function MM_openBrWindowM(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}