
ua = navigator.userAgent;
if( ua.indexOf("Mac") != -1 ){
	var isMSIE = /*@cc_on!@*/false; 
	if( isMSIE ){
		
		window.onload = function(){
			w  = document.all.wrapper;
			as = w.getElementsByTagName("a");
			for(i=0; i<as.length; i++ ){
//				alert(as[i].className );
				if( as[i].className == 'mburl' ){
					as[i].target="_blank";
				}

			} 
			
		}
		
		
	
	}else{
		Event.observe(window,'load',function(){
			$$('a.mburl').each(function(link){
				new Control.Modal(link,{
					opacity:0.6,
					width:500,
					height:500
				});
			});
		});
		
	}
}else{
	Event.observe(window,'load',function(){
		$$('a.mburl').each(function(link){
			new Control.Modal(link,{
				opacity:0.6,
				width:500,
				height:500
			});
		});
	});
}

function newOpen(url,w_name, w,h)
{
window.open( "about:blank" , w_name , "width=" + w + ", height="+ h );
document.forms[0].target="popup";//"new_win" 
document.forms[0].submit(); 
return false; 
window.open( url , w_name , "width=" + w + ", height="+ h );
//	return false;
}

