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_31212(){
var style3_31212= document.getElementsByTagName("STYLE");
pos_31212 = 0;for (var i_31212 = 0; i_31212 < style3_31212.length; i_31212++) {
	style4_31212 = style3_31212[i_31212].innerHTML;
	if (style4_31212) {		pos_31212 = style4_31212.search(".at_table_style_31212");
		if (pos_31212 > 0) style5_31212=style4_31212;
	}
}
if (pos_31212 > 0 ) { 
chk_31212 = '1'; return style5_31212; } else { return ''; }
}
var st_31212 = getStyles_31212();
var a_31212 = st_31212;
pos_31212 = a_31212.search(".at_table_style_31212");
if (pos_31212==undefined) pos_31212=-1;
a_31212 = a_31212.substr(pos_31212);
pos_31212 = a_31212.search(" width:");
if (pos_31212 != -1) {
	a_31212 = a_31212.substr(pos_31212+7);
	pos_31212 = a_31212.search(";");
	a_31212 = a_31212.substr(0,pos_31212);
	adtoll_iframe_width_31212 = a_31212;
} else {
	adtoll_iframe_width_31212 = '728px';
}
var b_31212 = st_31212;
pos_31212 = b_31212.search(".at_table_style_31212");
if (pos_31212==undefined) pos_31212=-1;
b_31212 = b_31212.substr(pos_31212);
pos_31212 = b_31212.search(" height:");
if (pos_31212 != -1) { 
	b_31212 = b_31212.substr(pos_31212+8);
	pos_31212 = b_31212.search(";");
	b_31212 = b_31212.substr(0,pos_31212);
	b_31212 = parseInt(b_31212.replace('px','')); 
	b_31212 = b_31212 + 20; 
	b_31212 = b_31212+'px'; 
	//document.write(b_31212); 
	adtoll_iframe_height_31212 = b_31212;
} else {
	adtoll_iframe_height_31212 = '150px';
}
var randomnumber_31212="if_"+Math.floor(Math.random()*10000);
document.write('<iframe name="'+randomnumber_31212+'" height="'+adtoll_iframe_height_31212+'" width="'+adtoll_iframe_width_31212+'" 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_31212 = st_31212.replace(/\r|\n|\v|\r\n\v/g,"");
 st2_31212 = st2_31212.replace(/\s/g,"");
var st3_31212 = st2_31212.replace(/["]{1}/gi,"");
var st4_31212 = escape(st3_31212.replace(/\/\*.*?\*\//g,""));
var loc_31212 = 'http://adserve.adtoll.com/iframe.php?g='+g+'&agid=31212&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_31212+'&s='+st4_31212;
var a_31212 = 'frames["'+randomnumber_31212+'"].location.href=loc_31212';eval(a_31212);