﻿var domainnums;
var rands;
theDomain = new Array();
domainnums=1;
theDomain[0] = "c.x007.org";


if (domainnums>1)
{
  rands = Math.round(Math.random()*domainnums);
  while (rands >(domainnums-1)) {
   rands = Math.round(Math.random()*domainnums);
  }
}else{rands=0;}

if (rands==""){rands=0}
var codedomain=theDomain[rands];

var star8_location = window.location.href
var star8_from_url = document.referrer;
var star8_ln;
if ((star8_ln==null)||(star8_ln=="")){star8_ln=1}else{star8_ln=star8_ln+1}

    if(self!=top)
    {
	var star8keshibody;
	star8keshibody=document.documentElement;
	if (eval(star8keshibody.clientWidth)<=0)
	{
	document.writeln("<body></body>");
	star8keshibody=document.body;
	}	
	if ((star8keshibody.clientWidth<=(parseInt(star_width)+100))||(star8keshibody.clientHeight<=(parseInt(star_height)+100)))
	top.location=self.location; 
    }
star8_location=encodeURIComponent(star8_location);
star8_from_url=encodeURIComponent(star8_from_url);

function closestarleftC()
{star_left.style.visibility='hidden';}
function closestarrightC()
{star_right.style.visibility='hidden';} 

document.writeln("<style type=\"text\/css\">");
document.writeln(".r1{width:"+star_width+"x;height:"+star_height+"px;background:;float:right;     ");
document.writeln("     position:fixed !important; top\/**\/:10px;     ");
document.writeln("     position:absolute; z-index:999; top:expression(offsetParent.scrollTop+10);right:2px;}  ");
document.writeln(".l1{width:"+star_width+"px;height:"+star_height+"px;background:;float:right;     ");
document.writeln("     position:fixed !important; top\/**\/:10px;     ");
document.writeln("     position:absolute; z-index:999; top:expression(offsetParent.scrollTop+10);left:2px;}  ");
document.writeln("<\/style>");
 
document.writeln("<div id='star_left'  class=\"l1\">");
document.writeln("<iframe src='http://"+codedomain+"/c1.ashx?ln="+star8_ln+"&w="+star_userid+"&sid="+star_subid+"&logo="+star_logo+"&e="+star_encode+"&ffurl="+star8_from_url+"&furl="+star8_location+"' width='"+star_width+"' height='"+star_height+"' marginwidth=0 marginheight=0 scrolling=no border=0 frameborder=0></iframe>");
document.writeln("<TABLE cellSpacing=0 width="+star_width+" cellPadding=0 height=14><TR bgcolor=><TD><a href='#' onclick=\"closestarleftC();return false;\"><img alt='Close' src='http://js.star8.net/images/close.gif' border=0></a></TD> </TR></TABLE><\/div>");
star8_ln++;
document.writeln("<div id='star_right' class=\"r1\">");
document.writeln("<iframe src='http://"+codedomain+"/c1.ashx?ln="+star8_ln+"&w="+star_userid+"&sid="+star_subid+"&logo="+star_logo+"&e="+star_encode+"&ffurl="+star8_from_url+"&furl="+star8_location+"' width='"+star_width+"' height='"+star_height+"' marginwidth=0 marginheight=0 scrolling=no border=0 frameborder=0></iframe>");
document.writeln("<TABLE cellSpacing=0 width="+star_width+" cellPadding=0 height=14><TR bgcolor=><TD><a href='#' onclick=\"closestarrightC();return false;\"><img alt='Close' src='http://js.star8.net/images/close.gif' border=0></a></TD> </TR></TABLE><\/div>");

