var ref;
ref = escape(document.referrer);
var m_ref;
m_ref =  escape(document.location.href);

var netmaxik_ad_client;
var netmaxik_ad_channel;
var netmaxik_ad_format;
var netmaxik_color_border;
var netmaxik_color_bg;
var netmaxik_color_title;
var netmaxik_color_link;
var netmaxik_color_url;
var netmaxik_color_text;
var netmaxik_keycode;
var netmaxik_sort_cb;


if ( netmaxik_keycode  == null || netmaxik_keycode  == 'undefined' || netmaxik_keycode  == "" ) 
	netmaxik_keycode  = "badass";


if ( netmaxik_sort_cb  == null || netmaxik_sort_cb  == 'undefined' || netmaxik_sort_cb  == "" ) 
	netmaxik_sort_cb  = "rand";

if ( netmaxik_color_title  == null || netmaxik_color_title  == 'undefined' || netmaxik_color_title  == "" ) 
	netmaxik_color_title  = "";

if ( netmaxik_ad_client == null || netmaxik_ad_client == 'undefined' || netmaxik_ad_client == "" ) 
	netmaxik_ad_client = '2198971267986411';


if ( netmaxik_ad_channel == null || netmaxik_ad_channel == 'undefined' || netmaxik_ad_channel == "" ) 
	netmaxik_ad_channel = '0';


if ( netmaxik_ad_format == null || netmaxik_ad_format == 'undefined' || netmaxik_ad_format == "" ) 
	netmaxik_ad_format = '250x250_net';


var str = netmaxik_ad_format.toLowerCase();

var w = netmaxik_ad_format.substring( 0, str.indexOf("x") );
var h = netmaxik_ad_format.substr ( str.indexOf("x") + 1, str.indexOf("_n") - str.indexOf("x") - 1 );

document.write ("<iframe height=\""+ h +"\" width=\""+ w +"\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\" allowtransparency=\"true\" scrolling=\"no\" border=\"0\" frameborder=\"0\"  src='http://pageads.netmaxik.com/pagead/show_ads.php?client="+netmaxik_ad_client+"&ch="+netmaxik_ad_channel+"&f="+netmaxik_ad_format+"&border="+netmaxik_color_border+"&bg="+netmaxik_color_bg+"&title="+ netmaxik_color_title +"&link="+netmaxik_color_link+"&url="+netmaxik_color_url+"&text="+netmaxik_color_text+"&kwd="+netmaxik_keycode+"&sort="+netmaxik_sort_cb+"&ref=" + ref +"&mref=" + m_ref +"'> </iframe>");
