/*var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
//extra height in px to add to iframe in FireFox 1.0+ browsers
var FFextraHeight=getFFVersion>=0.1? 16 : 0 

function dvisize(iframename) {
w_y=(NS4||NS6)? window.innerHeight : (IE5||IE4)? document.body.clientHeight : 0;
w_x=(NS4||NS6)? window.innerWidth : (IE5||IE4)? document.body.clientWidth : 0;
	alert('GO');
  var pTar = null;
  if (document.getElementById){
    pTar = document.getElementById(iframename);
	alert('FF w_y');             
  }
  else{
    eval('pTar = ' + iframename + ';');
	alert('ie '+ 'w_y');
  }
  if (pTar && !window.opera){
    //begin resizing iframe
    pTar.style.display="block"
    
    if (pTar && pTar.body.offsetHeight){
      //ns6 syntax
      pTar.height = pTar.body.offsetHeight+FFextraHeight; 
	  pTar.height = (pTar.height>w_y)?pTar.height:w_y;
    }
    else if (pTar.Document && pTar.Document.body.scrollHeight){
      //ie5+ syntax
      pTar.height = pTar.Document.body.scrollHeight;
    }
  }
}*/

// JavaScript Document
function startthedots(offset_X,offset_Y) {
	var viewportwidth; 
	var viewportheight; 
// the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight 
	if (typeof window.innerWidth != 'undefined') 
	{ 
      viewportwidth = window.innerWidth, 
      viewportheight = window.innerHeight 
	} 
// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document) 
	else if (typeof document.documentElement != 'undefined' 
     && typeof document.documentElement.clientWidth != 
     'undefined' && document.documentElement.clientWidth != 0) 
	{ 
       viewportwidth = document.documentElement.clientWidth, 
       viewportheight = document.documentElement.clientHeight 
	} 
// older versions of IE 
	else 
	{ 
       viewportwidth = document.getElementsByTagName('body')[0].clientWidth, 
       viewportheight = document.getElementsByTagName('body')[0].clientHeight 
	} 

	document.all.bg_pic.style.width=viewportwidth+document.documentElement.scrollLeft;
	//document.all.bg_pic.style.height=viewportheight+document.documentElement.scrollTop;
	//document.all.bg_pic.style.width=(document.documentElement.scrollWidth>viewportwidth)?document.documentElement.scrollWidth:viewportwidth;
	document.all.bg_pic.style.height=(document.documentElement.scrollHeight>viewportheight)?document.documentElement.scrollHeight:viewportheight;
	document.all.bg_pic2.style.height=(document.documentElement.scrollHeight>viewportheight)?document.documentElement.scrollHeight-235:viewportheight-235;

	//document.all.bg_pic.style.backgroundPositionX=Math.floor((viewportwidth+document.documentElement.scrollLeft)/2-offset_X);//200
	//document.all.bg_pic.style.backgroundPositionY=Math.floor((viewportheight)/2-offset_Y);//150
	
	//document.all.bg_pic.style['background-position']='center center';
	//background-position: center center;
	//document.all.bg_pic.style.backgroundPositionX=0;
	//document.all.bg_pic.style.backgroundPositionY=500;
}
