if(typeof(height)=='undefined' || height=='') height = 60;
if(typeof(width)=='undefined' || width=='') width = 468;
if(typeof(size)=='undefined' || size=='') size = 2;
if(typeof(query)=='undefined' || query=='') query = 'none';
if(typeof(orientation)=='undefined' || orientation=='') orientation='h';
if(typeof(title_color)=='undefined' ||title_color=='') title_color='#3c424f';
if(typeof(background_color)=='undefined' || background_color=='') background_color='#ffffff';
if(typeof(text_color)=='undefined' || text_color=='') text_color='';
if(typeof(url_color)=='undefined' || url_color=='') url_color='';
if(typeof(target)=='undefined' || target=='') target='';
var font='verdana';
var font_size='11';
if(typeof(border_color)=='undefined' || border_color=='') border_color='black';
if(typeof(tpl)=='undefined') tpl='cm';
if(typeof(model)=='undefined' || model=='') model='classic';
if(typeof(theme)=='undefined' || theme=='') theme='white';
if(typeof(model)!='undefined' && model=='corner') border_color='transparent';
if(document.top) {
	var client_ref = encodeURIComponent(document.top.location);
}
else {
	var client_ref = encodeURIComponent(document.location);
}
document.write('<iframe frameborder="0" border="0" style="border: 0px solid '+border_color+'; margin: 0; padding: 0;" scrolling="no" width="'+width+'" height="'+height+'"src="http://pub.adfever.com/adfever/cmtextwidget?client_ref='+client_ref+'&height='+height+'&width='+width+'&sid='+sid+'&query='+query+'&size='+size+'&orientation='+encodeURIComponent(orientation)+'&title_color='+encodeURIComponent(title_color)+'&background_color='+encodeURIComponent(background_color)+'&text_color='+encodeURIComponent(text_color)+'&border_color='+encodeURIComponent(border_color)+'&url_color='+encodeURIComponent(url_color)+'&target='+encodeURIComponent(target)+'&font='+encodeURIComponent(font)+'&tpl='+tpl+'&font_size='+encodeURIComponent(font_size)+'&alea='+ Number(new Date)+'&model='+(model)+'&theme='+theme+'"></iframe>');