var myWidth;
var myHeight;

if( typeof( window.innerWidth ) == 'number' ) { 

//Non-IE 

myWidth = window.innerWidth;
myHeight = window.innerHeight; 

} else if( document.documentElement && 

( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { 

//IE 6+ in 'standards compliant mode' 

myWidth = document.documentElement.clientWidth; 
myHeight = document.documentElement.clientHeight; 

} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ){
	myWidth = document.body.clientWidth; 
	myHeight = document.body.clientHeight;
}
var iMyWidth;
var iMyHeight;
//half the screen width minus half the new window width (plus 5 pixel borders).
iMyWidth = myWidth - (320);
//half the screen height minus half the new window height (plus title and status bars).
iMyHeight = myHeight - (35);

			function opn2(url_add) {
						document.getElementById('hidden').style.display = 'block';
						document.getElementById('visit').href = url_add;
						document.getElementById('frame').width = iMyWidth;
						document.getElementById('frame').height = iMyHeight;
						document.getElementById('frame').src = url_add;
						return false;
					}
					function cls(){
						document.getElementById('hidden').style.display = 'none';
						
					} 

