// JavaScript Document

var win = null;
function NewWindow(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

function validate()
{

//if(navigator.userAgent.indexOf("Firefox")!=-1 || navigator.userAgent.indexOf("Safari")!=-1){
//var versionindex=navigator.userAgent.indexOf("Firefox")+8;
//if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
//alert("Sorry for the inconvenience. Please use IE 7.0 for an optimum user experience.");
//var versionindex=navigator.userAgent.indexOf("Safari")+8
//if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
//alert("Sorry for the inconvenience. Please use IE 7.0 for an optimum user experience.")
//return false;

//return true;

//}
return true;
}

function popitup(url) {
	newwindow=window.open(url,'name','height=200,width=150');
	if (window.focus) {newwindow.focus()}
	return false;
}
