// JavaScript Document

function popup_privacy_policy()
  {



var w = 480, h = 340;

if (document.all || document.layers) {
   w = screen.availWidth;
   h = screen.availHeight;
}

var popW = 600, popH = 600;

var leftPos = (w-popW)/2, topPos = (h-popH)/2;

window.open('privacy_policy.htm','popup','width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos+',scrollbars=yes');
	
	//window.open('privacy_policy.htm','','width=600,height=600,scrollbars=yes');
  }

//Sets the scrolling speed
var scrollspeed=1
var scrollspeed1=1

//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=10
function initializeScoller(){
dataobj= document.all.prodlist
dataobj1= document.all.prodlist1

//Determines where the content appears from the bottom
dataobj.style.top="130px"
dataobj1.style.top="130px"
setTimeout("getdataheight()", initialdelay)
setTimeout("getdataheight1()", initialdelay)
}

function getdataheight(){
thelength=dataobj.offsetHeight
if (thelength==0)
setTimeout("getdataheight()",10)
else
scrollDiv()
}

function scrollDiv(){
dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+"px"
if (parseInt(dataobj.style.top)<thelength*(-1))
//dataobj.style.top="140px"
dataobj.style.top="140px"
setTimeout("scrollDiv()",50)
}

function getdataheight1(){
thelength1=dataobj1.offsetHeight
if (thelength1==0)
setTimeout("getdataheight1()",10)
else
scrollDiv1()
}
function scrollDiv1(){
dataobj1.style.top=parseInt(dataobj1.style.top)-scrollspeed1+"px"
if (parseInt(dataobj1.style.top)<thelength1*(-1))
//dataobj.style.top="140px"
dataobj1.style.top="140px"
setTimeout("scrollDiv1()",50)
}