
//css??
if(window.navigator.appName == "Netscape")
{
	document.write("<link rel='stylesheet' type='text/css' href='/tool/Netscape.css'>")
}
else
{
	document.write("<link rel='stylesheet' type='text/css' href='/tool/IE.css'>")	
}

function windowOpen(url,wd,ht)
{		
	var top=50;
	var left=50;
	
	top = (750-ht)/2
	left =(1024-wd)/2
	
	if(top<0){top=0}			
	if(left<0){left=0}			
	
	features = "scrollbars=yes,resizable=yes,top="+top+",left="+left+",width="+wd+",height="+ht
	
	window.open(url,'',features)				
}		
	
function winopen(ut)
{
	var browserName = navigator.appName
	var url = "";
	var url1 = "";
	url = window.location.pathname
		url = url.replace('/','-')	
		url1 = document.title.replace(' ','-')
	if (ut == "email")
	{	
		url = "/support/email_friend/emailFriend.aspx?url="+url+"&title="+url1;					
	}else
	{
		url = "/support/rate_page/rate_page.aspx?url="+url+"&title="+url1;		
	}

	if (browserName == "Netscape")
	{
		features = "width=600,height=425"
	} 
	else
	{
		features = "scrollbars=no,resizable=yes,width=600,height=420"
	}

	window.open(url,'',features)
	//document.write(url)
}

		function HideLayer(strLayerName)
		{
			if (document.all(strLayerName).style.display == 'block')
			{
				document.all(strLayerName + 'Image').src = '/images/lopen.gif'
				document.all(strLayerName).style.display = 'none'
				//document.reportPlan.all('Text'+strLayerName).value = 'none'
			}
			else
			{
				document.all(strLayerName + 'Image').src = '/images/lclose.gif'
				document.all(strLayerName).style.display = 'block'
				//document.reportPlan.all('Text'+strLayerName).value = 'block'		
			}
		}
		
		function swapImage(strLayerName)
		{
			if (document.all(strLayerName).style.display == 'none')
			{
				document.all(strLayerName + 'Image').src = '/images/lopen1.gif'				
			}
			else
			{
				document.all(strLayerName + 'Image').src = '/images/lclose1.gif'				
			}
		}
		function swapImageOut(strLayerName)
		{
			if (document.all(strLayerName).style.display == 'none')
			{
				document.all(strLayerName + 'Image').src = '/images/lopen.gif'				
			}
			else
			{
				document.all(strLayerName + 'Image').src = '/images/lclose.gif'				
			}
		}	
	
