
// CSS SETTING FOR NETSCAPE ++++++++++++++++++++++++++++++//
function init() {
	sSheet = document.styleSheets[document.styleSheets.length-1];
	if ( document.defaultView.getComputedStyle(document.body,"").getPropertyValue("font-size") == "14px" ){
		sSheet.insertRule("body {font-size: 16px}",sSheet.cssRules.length);
	}
}
if ( document.defaultView && document.styleSheets ) window.onload = init;


// RELOADS THE WINDOW IF NAV4 RESIZED ++++++++++++++++++++//
function MM_reloadPage(init) {  
	if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
	document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


// OBJECT FINEDER ++++++++++++++++++++++++++++++++++++++++//
	function MM_findObj(n, d) { //v4.01
	var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0; !x&&i<d.forms.length; i++) x=d.forms[i][n];
	for(i=0; !x&&d.layers&&i<d.layers.length; i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}





// FIND NN4 ++++++++++++++++++++++++++++++++++++++++++++++//
function findNN4(){
	if ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4)) {return true;}
	else{return false;}
}


// SET STYLE OBJECT ++++++++++++++++++++++++++++++++++++++//
function SetStyle(obj){
	if (!findNN4() && obj) {obj=obj.style;};
	if (obj){return obj;}
}


// WINDOW INNER WIDTH for NETSCAPE +++++++++++++++++++++++//
function getWindowWidth(){
	if (navigator.appName == "Netscape"){return window.innerWidth;}
	else{var w=document.body.clientWidth+24; return w;}
}


// EXTRACT NUMBER FROM STRING ++++++++++++++++++++++++++++//
String.prototype.getNumber = function(){
	var str=this;
	for (var i=0;i<str.length;i++) {if (str.charCodeAt (i) > 47 && str.charCodeAt (i) < 58) {var num = i;break;}}
	return (Number (str.slice (num)));
}


// EXTRACT NAME FROM STRING ++++++++++++++++++++++++++++++//
String.prototype.getName = function () {
	var str=this;
	for (var i=0;i<str.length;i++) {if (str.charCodeAt (i) > 47 && str.charCodeAt (i) < 58) {var num=i;break;}}
	return (str.slice (0, num));
}


// CALL HIDDEN +++++++++++++++++++++++++++++++++++++++++++//
function callHidden(){
	if ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4)) {
		document.write('<div id="hlayer" name="hiddenLayer"><a href="javascript:;" onMouseOver="hAllLayer(\'menu\')"><img src="/images/spacer.gif" width="99%" height="99%" border="0" alt="" name="hiddenImage"></a></div>\n');
	}
}


// +++++++++++++++++++++++++++++++++++++++++++++++++++++++//
function overTableTd(id){
	var obj = MM_findObj(id)
	obj.style.background='#ffffff';
}
function outTableTd(id){
	var obj = MM_findObj(id)
	obj.style.background='#ACE0F4';
}


