<!-- Begin

// solo para el punto de informacion

var mostrarVr      = "plugin";
var mostrarVr      = "java";

var anchoVr = 388;
var altoVr  = 249;

var rutaVrApplet    = "vrs/java/";
var rutaVrAppletMac = "vrs/java/";

var rutaVrJava      = "vrs/java/vr";
var rutaVrJavaMac   = "vrs/java/vr";

var rutaVrPlugin    = "vrs/plugin/vr";


function panoramica(str) {
	if (mostrarVr == "plugin") {
		// Version Plugin PC y MAC
		if (navigator.userAgent && navigator.userAgent.indexOf("Mac") >= 0){
			document.write('<embed src="' + rutaVrPlugin + str + '.ivr" TYPE="i-world/i-vrml" ');
			document.write('width="' + anchoVr + '" height="' + altoVr + '" NAME="panoComponent" PLUGINSPAGE="../../vrs/ayuda.htm">');
			}
		else {
			document.write('<embed src="' + rutaVrPlugin + str + '.ivr" TYPE="i-world/i-vrml" ');
			document.write('width="' + anchoVr + '" height="' + altoVr + '" NAME="panoComponent" PLUGINSPAGE="../../vrs/ayuda.htm">');
			}
		}
	else {
		// Version Java
		if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) <= 4) {
			document.write('<applet name="pano" CODE="LPPano.class" archive="' + rutaVrApplet + 'lpjpanons3.zip" width="' + anchoVr + '" height="' + altoVr + '">');
		} else {
			if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) > 4) {
				document.write('<applet code=panoapplet archive="' + rutaVrApplet + 'panoapplet.jar" width="' + anchoVr + '" height="' + altoVr + '">');

			} else {
				document.write('<applet name="pano" CODE="LPPano.class" archive="' + rutaVrApplet + 'lpjpano.zip" width="' + anchoVr + '" height="' + altoVr + '">');
			}
		}

//		document.write('<applet name="pano" CODE="LPPano.class" archive="' + rutaVrApplet + 'lpjpano.zip" width="' + anchoVr + '" height="' + altoVr + '">');
               	document.write('<param name=cabbase value="' + rutaVrApplet + 'lpjpano.cab">');
		document.write('<PARAM NAME="autoSpin"  VALUE="-50">');
//		document.write('<PARAM NAME="altimage"  VALUE="' + rutaVrApplet + 'fondo.gif">');
		document.write('<PARAM NAME="altSplash"  VALUE="' + rutaVrApplet + 'fondo.gif">');
		document.write('<PARAM NAME="file" VALUE="' + rutaVrJava + str + '.ivr">');
		document.write('<PARAM NAME="infoPage" value="http://www.pradaatope.es/visitavirtual/vrs/ayudavrs/ayuda.htm,_self">');

		document.write('<PARAM NAME="toolbar" VALUE="on">');
//		document.write('<PARAM NAME="toolbar" VALUE="off">');
//		document.write('<PARAM NAME="toolbar" VALUE="collapsed">');

		document.write('<PARAM NAME="showHotspots" value="false">');

//		document.write('<PARAM name="backgroundColor"value="253,253,236">');
//		document.write('<PARAM name=backgroundImage value="imageURL">');
      	
//solo si hay links
//		linksVr(str);
		document.write('</APPLET>');
	}
}


// End -->




