N=window.navigator.appName.substring(0,8);
//alert(N)
function init_window_size(){
	dd=document;
	ww=window;
//	if(document.w_h.winframe.checked)
//	{
//	  dd=parent.document;
//	  ww=parent.window;
//	}
	
	if(N=="Microsof"){w=dd.body.clientWidth;h=document.body.clientHeight;}
	if(N=="Opera"){w=dd.body.clientWidth;h=document.body.clientHeight;}
	if(N=="Netscape"){w=ww.innerWidth-15;h=window.innerHeight;}
	return w;
	//document.forms[0].elements[0].value=w;
	//document.forms[0].elements[1].value=h;
}



function unescape_opera(text) {
	if(typeof(RegExp) == 'function') {
		re = /quot;/g;  
		newstr=text.replace(re, ''); 
		re = /&/g; 
		return newstr.replace(re, '"');  
	} 
	else return text;
} 


