// JavaScript Document
function mycenteralpopwinVHS(fname,width,height)
{
	
	var file
	var sWidth	= 200
	var sHeight = 200
	
	if(width.length > 0){
	sWidth = width;
	}
	else{
	width =100;
	}
	
	if(height.length > 0){
	sHeight = height;
	}
	else{
	height =100;
	}
	
	file = fname
	file =file	
	
	var wintop  =window.screen.availHeight;
	var winleft =window.screen.availWidth;
	wintop  =(wintop/2) -(height/2)
	winleft =(winleft/2) -(width/2)
	//wintop  = 0
	//winleft = 0
	
	if ( sWidth > window.screen.availWidth )
		{ sWidth = window.screen.availWidth; }
	if (sHeight > window.screen.availHeight )
		{ sHeight = window.screen.availHeight; }
	if ( parseInt(sWidth) < width )
		{ sWidth = width; }
	if ( parseInt(sHeight) < height )
		{ sHeight = height; }
	
	if ( navigator.appName == "Microsoft Internet Explorer" )
		{ window.open(file, "_blank", "status=no, scrollbars=yes, toolbar=no, resizable=yes, location=no, menubar=no, top=" + wintop + ", left= "+ winleft +", height=" + sHeight + ", width=" + sWidth); 
		}
	if ( navigator.appName == "Netscape" ) 
		{ 
		window.open(file,"_blank","scrollbars=yes,alwaysRaised,dependant,innerheight=" + sHeight + ",innerwidth=" + sWidth); 		 
		//window.open(file,"_blank","alwaysRaised,dependant,scrollbars=yes,innerheight=" + sHeight + ",innerwidth=" + sWidth); 
		}
}



function dispExtra(objVal)
{
	var dispVal	= objVal;
	
	//alert(dispVal);
	
	//alert(document.frmSignup.sePackage.selectedIndex);
	
	//var dispContent	= document.frmSignup.sePackage.selectedIndex;
	//alert(document.frmSignup.sePackage.options[dispContent].text);
	if(dispVal	== 3)
	{
		document.getElementById('extra_div').style.display	= "block";
	}
	else
	{
		document.getElementById('extra_div').style.display	= "none";	
	}	
}

/* For Blinking Text */
function enableBlink()
{
   var aryBlinkingElements = document.getElementsByTagName("BLINK")

   for(i=0;i<aryBlinkingElements.length;i++)
   {
   		objElement = aryBlinkingElements[i];
		if(objElement.style.display == "none")
		{
		   objElement.style.display = "block" ;
	   	}	
		else
		{
		   objElement.style.display = "none" ;
		}
   }
   setTimeout('enableBlink()', 5000);
}