//FLASH
function loadFlash(version, name, width, height,quality){
  var swf='';
  swf += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
  swf += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+version+',0,0,0" ';
  swf += 'width="'+width+'" ';
  swf += 'height="'+height+'">';
  swf += '<param name="movie" value="'+name+'" />';
  swf += '<param name="quality" value="'+quality+'" />';
  swf += '<embed src="'+name+'" ';
  swf += 'quality="'+quality+'" ';
  swf += 'pluginspage="http://www.macromedia.com/go/getflashplayer" ';
  swf += 'type="application/x-shockwave-flash" ';
   swf += 'width="'+width+'" ';
  swf += 'height="'+height+'">';
  swf += '</embed>';
  swf += '</object>';
  document.write(swf);
}

function loadSwf() {
//loadFlash(6,'http://starsugar.com/Flash/index200502.swf','714','210','high');
  loadFlash(6,'http://starsugar.com/Flash/index200503.swf','235','209','high');
}

function counterget() {
  var pg = "INDEX";
  var a = "&&";
  var pf = navigator.platform + a; var lng = navigator.language + a;
  var swh = screen.width + "x" + screen.height + a;
  var cd = screen.colorDepth + a; var pd = screen.pixelDepth + a;
  var rf = document.referrer;
  var now = new Date();
  document.write("<img src='http://starsugar.com/access/dsw.cgi?xx=",now.getSeconds(),"&&p=g&&cnt=no&&md=j&&");
  document.write("pg="+pg+a+"pf="+pf+"lng="+lng+"swh="+swh+"cd="+cd+"pd="+pd+"rf="+rf);
  document.write("' alt='CGI' />");
}
