function SetCookie(NameOfCookie, ValueOfCookie){
	date = new Date();
	date.setDate(date.getDate()+7);
	document.cookie = NameOfCookie + "=" + escape(ValueOfCookie) + " expires=" + date.toGMTString();
}
function getCookie(NameOfCookie){
	var aCookie=document.cookie.split(" ");
	for (var i=0; i<aCookie.length; i++){
		var aCrumb=aCookie[i].split("=");
		if (NameOfCookie==aCrumb[0]){
			return unescape(aCrumb[1]);
		}
	}
	if (NameOfCookie!="AT_GEO") 
{		var get_temp=getCookie("AT_GEO");
		if ((get_temp==-1) || (get_temp=="undefined")){
			return -1;
		}else{ 
			return get_temp;
		} 
	} else { 
		return -1;
	}
}
function getStyles_31998(){
var style3_31998= document.getElementsByTagName("STYLE");
pos_31998 = 0;for (var i_31998 = 0; i_31998 < style3_31998.length; i_31998++) {
	style4_31998 = style3_31998[i_31998].innerHTML;
	if (style4_31998) {		pos_31998 = style4_31998.search(".at_table_style_31998");
		if (pos_31998 > 0) style5_31998=style4_31998;
	}
}
if (pos_31998 > 0 ) { 
chk_31998 = '1'; return style5_31998; } else { return ''; }
}
var st_31998 = getStyles_31998();
var a_31998 = st_31998;
pos_31998 = a_31998.search(".at_table_style_31998");
if (pos_31998==undefined) pos_31998=-1;
a_31998 = a_31998.substr(pos_31998);
pos_31998 = a_31998.search(" width:");
if (pos_31998 != -1) {
	a_31998 = a_31998.substr(pos_31998+7);
	pos_31998 = a_31998.search(";");
	a_31998 = a_31998.substr(0,pos_31998);
	adtoll_iframe_width_31998 = a_31998;
} else {
	adtoll_iframe_width_31998 = '728px';
}
var b_31998 = st_31998;
pos_31998 = b_31998.search(".at_table_style_31998");
if (pos_31998==undefined) pos_31998=-1;
b_31998 = b_31998.substr(pos_31998);
pos_31998 = b_31998.search(" height:");
if (pos_31998 != -1) { 
	b_31998 = b_31998.substr(pos_31998+8);
	pos_31998 = b_31998.search(";");
	b_31998 = b_31998.substr(0,pos_31998);
	b_31998 = parseInt(b_31998.replace('px','')); 
	b_31998 = b_31998 + 20; 
	b_31998 = b_31998+'px'; 
	//document.write(b_31998); 
	adtoll_iframe_height_31998 = b_31998;
} else {
	adtoll_iframe_height_31998 = '150px';
}
var randomnumber_31998="if_"+Math.floor(Math.random()*10000);
document.write('<iframe name="'+randomnumber_31998+'" height="'+adtoll_iframe_height_31998+'" width="'+adtoll_iframe_width_31998+'" border="0" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true" /></iframe>');
prot = window.location.protocol;
var g=getCookie("AT_GEO");
if (g==-1) {document.write('<scri' + 'pt');
	document.write(' src='+prot+'//geo.adtoll.com/geo.php>');
	document.write(' </scri' + 'pt>');
} else {
	g = g.substr(0,2);
}
if (window.adtoll_count_impression==undefined) { adtoll_count_impression=0; } else { adtoll_count_impression=window.adtoll_count_impression; }
if (window.adtoll_no_click==undefined) { adtoll_no_click=0; } else { adtoll_no_click=window.adtoll_no_click; }
if (window.adtoll_image_size==undefined) { adtoll_image_size=0; } else { adtoll_image_size=window.adtoll_image_size; } 
if (window.adtoll_bullet_html==undefined) { adtoll_bullet_html=""; } else { adtoll_bullet_html=window.adtoll_bullet_html; } 
if ((adtoll_image_size!='25')&&(adtoll_image_size!='50')&&(adtoll_image_size!='100')&&(adtoll_image_size!='150')) {adtoll_image_size=0;}
var st2_31998 = st_31998.replace(/\r|\n|\v|\r\n\v/g,"");
 st2_31998 = st2_31998.replace(/\s/g,"");
var st3_31998 = st2_31998.replace(/["]{1}/gi,"");
var st4_31998 = escape(st3_31998.replace(/\/\*.*?\*\//g,""));
var loc_31998 = 'http://adserve.adtoll.com/iframe.php?g='+g+'&agid=31998&a='+adtoll_num_ads+'&a2='+adtoll_see_your_ad_here+'&a3='+escape(adtoll_your_text.replace("'",""))+'&a4='+adtoll_show_powered_by+'&a5='+adtoll_layout_style+'&a6='+adtoll_view_desc+'&a7='+adtoll_image_size+'&a8='+escape(adtoll_bullet_html)+'&a9='+adtoll_no_click+'&a10='+adtoll_count_impression+'&ifh='+adtoll_iframe_height_31998+'&s='+st4_31998;
var a_31998 = 'frames["'+randomnumber_31998+'"].location.href=loc_31998';eval(a_31998);