function Pop(name, wg, hg){  

    var s1 = ("<HTML><TITLE>Resciesa - Rasch&ouml;tz hg&uuml;tte - Rifugio Rasciesa</TITLE>" + 
    "<BODY onBlur='self.focus()' BGCOLOR='#FFFFFF' 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>");   

    wg = wg + 20;
    hg = hg + 20;
    
    var param = ("height=" + hg + ",width=" + wg + ",scrollbars=no,resizable=no,left=50,top=50");

    popup = window.open("","popDialog",param)

    popup.document.write(s1)
    popup.document.close()
}


function PopItNew(theURL, wg, hg){
        ver = parseInt(navigator.appVersion.substring(0,1));       newWin=window.open(theURL,"ipix_pop","width="+wg+",height="+hg+",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);
    }
}

// INC ----------------------------------------------------------------------------------------------------------------
function IncludeJavaScript(jsFile)
{
  document.write('<script type="text/javascript" src="'
    + jsFile + '"></script>'); 
}
IncludeJavaScript('../scr/mootools.js');
IncludeJavaScript('../scr/slimbox.js');
// --------------------------------------------------------------------------------------------------------------------

function LightShow() {
 Slimbox.open('../images/resciesa2010.jpg', ''); 
}