function GP(prov,cat,nom){
document.write('<embed src="../at/GI.swf?etp=../'+prov+'/'+cat+'/'+nom+'/gf.xml&" width="408" height="280" quality="high"  type="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" width="408" height="280" menu="false" allowfullscreen="true" wmode="opaque"></embed>');	
}
<!--
function boit(which,color){
if (document.all||document.getElementById){
which.style.borderColor=color
}
}
//-->
function openWindow(url) {
  popupWin = window.open(url,'new_page','width=500,height=520,scrollbars=yes,resizable=yes')
}
function openWindow2(url) {
  popupWin = window.open(url,'new_page','width=400,height=450')
}
function openWindow3(url) {
  popupWin = window.open(url,'new_page','width=400,height=450,scrollbars=yes')
}
function openWindow4(url) {
  popupWin = window.open(url,'new_page','width=400,height=525,scrollbars=yes')
}
function openWindow5(url) {
  popupWin = window.open(url,'new_page','width=600,height=520,scrollbars=yes,resizable=yes')
}
function openWindow6(url) {
  popupWin = window.open(url,'new_page','width=550,height=525,scrollbars=yes,resizable=yes')
}
function openPopPic(url) {
  popupWin = window.open(url,'new_page','width=280,height=180,scrollbars=yes,resizable=yes')
}
function ImprimeVentana(url) {
  popupWin = window.open(url,'new_page','width=450,height=525,scrollbars=yes,resizable=yes')
}
function VentRep(url) {
	popupWin = window.open(url,'new_page','width=500,height=480,scrollbars=yes,toolbars=no,resizable=no')
	}
	function VentAjustable(url,nombre,especificaciones) {
	popupWin = window.open(url,nombre,especificaciones)
	}
	function ventana2(url) {
		windowName = "Pantallas";
        options  = "";
        options += "toolbar=0,";
        options += "location=0,";
        options += "directories=0,";
        options += "status=0,";
        options += "menubar=0,";
        options += "scrollbars=1,";
        options += "resizable=1,";
        options += "width=350,";
        options += "height=300";
        win = window.open(url, windowName , options);
        if (!win.opener) {
          win.opener = window;
        }
	}

	var NoSpanChk=0;
	function NoFormSpan() { 
		if (NoSpanChk = 0)
		{
			NoSpanChk++;
			return true;
		}
		else 
		{
		alert("El formulario ya está siendo enviado, por favor aguarde un instante.");
		return false;
		}
	}

	function BKPreviewForm(PreviewForm,PreviewURL){
	document.forms[PreviewForm].action=PreviewURL;
	document.forms[PreviewForm].submit();
	}

	function OpenPreviewWindow(){
		strTitle = escape(document.IngForm.ART_TITULO.value);
		strMessage = escape(document.IngForm.IngAreaTexto.value);
		document.cookie = "Title=" + strTitle
	   	document.cookie = "NewsItem=" + strMessage
	   	openWin('chkpreview.asp','preview','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=680,height=400')
	}

	function openWin(theURL,winName,features) {
	  	window.open(theURL,winName,features);
	}

	function StopDoubleForm(MyForm){
		if (document.all||document.getElementById){
			for (i=0;i<MyForm.length;i++){
				var chkissubmit=MyForm.elements[i]
				if(chkissubmit.type.toLowerCase()=="submit"||chkissubmit.type.toLowerCase()=="image")
				chkissubmit.disabled=true
				}
		}
}

<!--
function CreaSwf(img,wsize,hsize,opt){
    document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" width=\""+wsize+"\" height=\""+hsize+"\">");
    document.write("<param name=\"movie\" value=\""+img+"\">");
    document.write("<param name=\"quality\" value=\"high\">");
	document.write("<param name=\"menu\" value=\"false\">");
    if(opt != null){
        document.write("<param name='wmode' value='"+opt+"'>");
        alt="wmode="+opt;
        
    }
    document.write("<embed src=\""+img+"\" menu=\"false\" "+alt+" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+wsize+"\" height=\""+hsize+"\"></embed>");
    document.write("</object>");
}
//-->

function VerShot(url) {
  popupWin = window.open(url,'new_page','width=780,height=500,scrollbars=yes,toolbars=no,resizable=yes')
}