function popupEVPt(mainPath) {
	w=792;
	h=550;
	screenw = screen.availWidth;
	screenh = screen.availHeight;
	var leftPos = (screenw-w)/2, topPos = (screenh-h)/2;
	var resize = 0;
       
        if (!(is_ie)) {
          w -= 3;
        }  
        
        if ( !(is_ie) || ( is_ie && !(is_WMP9up) ) ){ 
          resize=1;
        }

	document.location=mainPath;
/*
var EvpWindow = window.open(mainPath,'newsatciscoEVP','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable='+resize+',width=' + w + ',height=' + h + ',top=' + topPos + ',left=' + leftPos);
        	if (EvpWindow != null){
	  		//catches yahoo's popup which in a sneaky 
			//way would pass the first if.
          		if (typeof EvpWindow.document != 'unknown'){
				//if (QueryString("vidid") != null || QueryString("fr_story") != null ){
            				window.close();
				//}
          		}
			else{
			document.location=mainPath;
        		}
		} 
		else{	
		document.location=mainPath;
		}
        
*/
}

//function to give time for reporting to happen
function popupEVP(mainPath){
	setTimeout("popupEVPt('"+mainPath+"');",1500);
}
