	document.onselectstart=new Function ("return false")
	if (window.sidebar)
	{
		document.onmousedown = disableselect;
		document.onclick = reEnable;
	}
	function disableselect(e){
		return false
	}
	function reEnable(){
		return true
	}
	function GetImages()
	{
		var imageList = new Array

		imageList = ('jmini.gif','rwr.gif','bar.jpg','bar_l.jpg','bar_r.jpg','btn1.gif','header_bg.jpg','header2a.jpg','header2b.jpg','mnuhdr.gif','intro_l.jpg','intro_r.jpg');
		return imageList;
	}
	function ImgPreLoad(img)
	{
		var imageList = new Array;
		for(i in img){
			imageList[i] = new Image();
			imageList[i].src = "img/" + img[i];
		}
		//return imageList;
	}
        function imagePopup(strURL,prdRef)
        {
		//var imgPopup = window.open("","strURL","width=640,height=480,resizeable=no,status=no,toolbar=no,menubar=no,scrollbars=no");
		var imgPopup = window.open("","strURL","width=450,height=370,resizeable=no,status=no,toolbar=no,menubar=no,scrollbars=no");
		var contenido = "<html>\n<head>\n\t<title>" + prdRef + "</title>\n\t<link href=\"style/jovimar.css\" type=\"text/css\" rel=\"stylesheet\">\n\t" +
		    "<link href=\"style/jovimar.css\" type=\"text/css\" rel=\"stylesheet\">\n</head>\n" +
//		    "<body>\n<table width=\"580\" height=\"400\" border=\"0\" cellpading=\"0\" cellspacing=\"5\" align=\"center\">\n" +
		    "<body>\n<table width=\"400\" height=\"300\" border=\"0\" cellpading=\"0\" cellspacing=\"5\" align=\"center\">\n" +
//		    "<tr>\n\t<td><img src=\"" + strURL + "\" border=\"0\" width=\"580\" height=\"400\"></td>\n" +
		    "<tr>\n\t<td><img src=\"" + strURL + "\" border=\"0\" width=\"400\" height=\"300\"></td>\n" +
		    "<tr>\n\t<td><input class=\"button\" type=\"button\" name=\"cerrar\" value=\"Cerrar Ventana\" onClick=\"window.close()\" size=\"200\" width=\"200\">\n" +
        	"</tr></table></body></html>";

	       	imgPopup.document.write(contenido);
        }