function Pop(name, w, h){  

	
	var sx = '<script language="javascript"> PopUpURL = ""; isIE=document.all; isNN=!document.all&&document.getElementById; isN4=document.layers; if (isIE||isNN){ document.oncontextmenu=checkV;} else {  document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);  document.onmousedown=checkV; }   function checkV(e) { 	if (isN4) 	 { 	if (e.which==2||e.which==3) 		{ 		dPUW=alert(PopUpURL); 		return false; 		} 	} 	else 	{ 	dPUW=void(null); 	return false; 	} } </script>'
    var s1 = ("<HTML><head><TITLE>Dynamic Dance</TITLE>"+sx+"</head>" +
    "<BODY onBlur='self.focus()' BGCOLOR='#262626' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>" +
    "<table width='100%' height='100%' border='0' cellpadding='0' cellspacing='0'><tr><td align='center' valign='middle'><IMG SRC='" + name + "' border='1' style='border-color:#978B71'>" + "</tr></table>");   

    w = w + 20;
    h = h + 20;
    
    var param = ("height=" + h + ",width=" + w + ",scrollbars=no,resizable=no,left=50,top=50");

    popup = window.open("","popDialog",param)

    popup.document.write(s1)
    popup.document.close()
}


function PopItNew(theURL, w, h){
        ver = parseInt(navigator.appVersion.substring(0,1));       newWin=window.open(theURL,"ipix_pop","width="+w+",height="+h+",menubar=no,toolbar=no,status=yes,resizable=no,scrollbars=no,");
	if ((!((navigator.appName == "Netscape")&&(ver==2))) && (!((navigator.appName == "Microsoft Internet Explorer")&&(ver<4)))){
          setTimeout("if (newWin) newWin.focus();",1000);
    }
}









