/**
 * @author: Philippe_COVAL(a)Yahoo.COM - http://RzR.online.FR - Rev:$Author$
 * ALL COPYRIGHT RESERVED : NO READ / COPY / MODIFY ALLOWED !!!
 **/

//-----------

function main_rzr_ad( arg)
{

var ad_off= "<iframe name='adframe' scrolling='No' align='MIDDLE' width='468' height='60' \
 marginwidth='0' marginheight='0' frameborder='No' \
 src='../../gfxbnr/iframe.htm'></iframe>";

ad_off="Offline";

var ad_on=
"<" +"script type='text/javascript'>" +"<!-- \n" 
+ " google_ad_client = 'pub-0171279274404002'; "
+ " google_ad_width = 728; google_ad_height = 90; google_ad_format = '728x90_as';"
+ " google_color_border = '333333'; google_color_bg = '000000'; google_color_link = 'FFFFFF'; "
+ " google_color_url = '999999'; google_color_text = 'CCCCCC';"


//+ " google_ad_width = 468; google_ad_height = 60; "
//+ " google_ad_format = '468x60_as';"
//+ "\n alert(ad_on); " 
+"\n//-->\n" +"</" +"script" +">\n"
+ "" +
"<" + "script type='text/javascript' " +
" src='http://pagead2.googlesyndication.com/pagead/show_ads.js' >" 
+"</" +"script" +">" ;


ad_on = "\n<div style=\"text-align:center;bottom:0; position:fixed;\"><span style=\"display:block;\">\n" + ad_on + "\n</span></div>\n";
	//  navigator.appName.indexOf("Microsoft") ) 
  if ( navigator.userAgent.lastIndexOf("MSIE") != -1 )
  document.writeln( ad_on);

}

function writeAdBugged()
{
  d = parent.ad; //.document ;

  //var w = window.open('', 'ad');
  //    d = w.document;
  parent.ad.open();
  parent.ad.write ( ad_off);
  parent.ad.close();

//ad_on = "<" +"div style=\"position: fixed; right:0 ; bottom:0; background: white; color: black; height: 100px; width: 500px;\" >" + ad_on + "</" + "div>";
// var d = this.document;
//document.writeln( "<" +"div style=\"position: fixed; right:0; bottom:0; background: white; color: black; height: 100px; width: 500px;\" >" );

//document.writeln("TEST" );
//alert( ad_on);

}

main_rzr_ad();

/*

<!-- %rzr name="google" -->
<script type="text/javascript">
<!--
google_ad_client = 'pub-0171279274404002';

google_ad_width = 120;
google_ad_height = 600;
google_ad_format = '120x600_as';


google_ad_width = 468;
google_ad_height = 60;
google_ad_format = '468x60_as';
// -->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- %rzr -->

*/

