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_31398(){
var style3_31398= document.getElementsByTagName("STYLE");
pos_31398 = 0;for (var i_31398 = 0; i_31398 < style3_31398.length; i_31398++) {
	style4_31398 = style3_31398[i_31398].innerHTML;
	if (style4_31398) {		pos_31398 = style4_31398.search(".at_table_style_31398");
		if (pos_31398 > 0) style5_31398=style4_31398;
	}
}
if (pos_31398 > 0 ) { 
chk_31398 = '1'; return style5_31398; } else { return ''; }
}
var st_31398 = getStyles_31398();
var a_31398 = st_31398;
pos_31398 = a_31398.search(".at_table_style_31398");
if (pos_31398==undefined) pos_31398=-1;
a_31398 = a_31398.substr(pos_31398);
pos_31398 = a_31398.search(" width:");
if (pos_31398 != -1) {
	a_31398 = a_31398.substr(pos_31398+7);
	pos_31398 = a_31398.search(";");
	a_31398 = a_31398.substr(0,pos_31398);
	adtoll_iframe_width_31398 = a_31398;
} else {
	adtoll_iframe_width_31398 = '728px';
}
var b_31398 = st_31398;
pos_31398 = b_31398.search(".at_table_style_31398");
if (pos_31398==undefined) pos_31398=-1;
b_31398 = b_31398.substr(pos_31398);
pos_31398 = b_31398.search(" height:");
if (pos_31398 != -1) { 
	b_31398 = b_31398.substr(pos_31398+8);
	pos_31398 = b_31398.search(";");
	b_31398 = b_31398.substr(0,pos_31398);
	b_31398 = parseInt(b_31398.replace('px','')); 
	b_31398 = b_31398 + 20; 
	b_31398 = b_31398+'px'; 
	//document.write(b_31398); 
	adtoll_iframe_height_31398 = b_31398;
} else {
	adtoll_iframe_height_31398 = '150px';
}
var randomnumber_31398="if_"+Math.floor(Math.random()*10000);
document.write('<iframe name="'+randomnumber_31398+'" height="'+adtoll_iframe_height_31398+'" width="'+adtoll_iframe_width_31398+'" 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_31398 = st_31398.replace(/\r|\n|\v|\r\n\v/g,"");
 st2_31398 = st2_31398.replace(/\s/g,"");
var st3_31398 = st2_31398.replace(/["]{1}/gi,"");
var st4_31398 = escape(st3_31398.replace(/\/\*.*?\*\//g,""));
var loc_31398 = 'http://adserve.adtoll.com/iframe.php?g='+g+'&agid=31398&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_31398+'&s='+st4_31398;
var a_31398 = 'frames["'+randomnumber_31398+'"].location.href=loc_31398';eval(a_31398);