/********************************************************************************

********************************************************************************/
//Default browsercheck
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
bw=new checkBrowser()

/************************************************************************************
foldout
****************************************************************************/
<!--

function ShowHideLaptop(theTable,imgID,imgSrcClosed,imgSrcOpen){
/**
imgClosed +; imgOpen - 
**/
     if (document.getElementById(theTable).style.display == 'none'){
	 	document.getElementById(theTable).style.display = 'block';
		document[imgID].src = imgSrcOpen;
     }else{
	 	document.getElementById(theTable).style.display = 'none';
		document[imgID].src = imgSrcClosed;
	 }
}

function isNum(s) {
	var newstring = parseFloat(s).toString();
	if (s.length == newstring.length && newstring != "NaN") {
		return 1;
	}
	else {
		return 0;
	}
}
function isEmail(strEmail){
	var filter=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/
	
	if (filter.test(strEmail))
		return true;
	else {
		return false;
		}
}
//-->