hostname  =  document.location.host ;
useragent = navigator.appName;
function quoted(str) 
{
  return (str != null) ? '"' + str + '"' : '""';
}

if (!(itscounter))
{
var itscounter = 0 ;
}
itscounter =  itscounter +  1;

var itshomal_ad_width = itshomal_ad_width;
var itshomal_ad_height = itshomal_ad_height;
var itshomal_ad_format =itshomal_ad_format ;
if (!(itshomal_ad_width))
{
itshomal_ad_width = 550;
}
if (!(itshomal_ad_height))
{
itshomal_ad_height = 90;
}

var itshomal_color_border = itshomal_color_border;
var itshomal_color_bg = itshomal_color_bg;
var itshomal_color_link = itshomal_color_link;
var itshomal_color_url = itshomal_color_url; 
var itshomal_color_text = itshomal_color_text;

if (!(itshomal_color_border))
{
itshomal_color_border = '336699';
}

if (!(itshomal_color_bg))
{
itshomal_color_bg = 'FFFFFF';
}

if (!(itshomal_color_link))
{
itshomal_color_link = '0000FF';
}

if (!(itshomal_color_url))
{
itshomal_color_url = '008000';
}

if (!(itshomal_color_text))
{
itshomal_color_text = '000000';
}

      document.write('<iframe' +
              ' name="ITShomal"' +
			  '	frameborder="0"' + 
			  ' allowtransparency="true"' + 
			  ' background-color="transparent"' +
              ' width=' + quoted(itshomal_ad_width) +
              ' height=' + quoted(itshomal_ad_height) +
                ' src=' + 'http://itsdist.itshomal.com/?' +
                'width=' + itshomal_ad_width + 
                '&height=' + itshomal_ad_height + 
                '&format=' + itshomal_ad_format + 
                '&bd=' + itshomal_color_border +
                '&bg=' + itshomal_color_bg + 
                '&lc=' + itshomal_color_link +
                '&uc=' + itshomal_color_url  +
                '&tc=' + itshomal_color_text +
                '&FRD=' + itscounter +
				'&Host=' + hostname +
				'&Agent=' + useragent +
              ' marginwidth="0"' +
              ' marginheight="0"' +
              ' vspace="0"' +
              ' hspace="0"' +
              ' allowtransparency="true"' +
              ' scrolling="no">');
      document.write('</iframe>');

