function PintOld(){
	/*
	document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"50\">");
	document.write("<tr>");
	document.write("<td><img src=\"../../images/"+image+"\" border=\"0\" alt=\""+title+"\"></td>");
	document.write("<td background=\"png/img_rgt.png\" height=\"100%\"><img src=\"../png/img_rgt.png\" width=\"8\" border=\"0\"></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td background=\"png/img_btm.png\" width=\"100%\" height=\"8\"><img src=\"../png/img_btm.png\" height=\"8\" border=\"0\"></td>");
	document.write("<td background=\"png/img_sqr.png\"><img src=\"../png/img_sqr.png\" width=\"8\" height=\"8\" border=\"0\"></td>");
	document.write("</tr>")
	document.write("</table>");
	*/
}
function PaintImage(image,title,link){
document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"50\">");
document.write("<tr>");
if(link!=""&&link!='null'&&link!='undefined'){
document.write("<td><a href="+link+" target=blank><img src=\"../../images/"+image+"\" border=\"0\" alt=\""+title+"\"></a></td>");
}else{
document.write("<td><img src=\"../../images/"+image+"\" border=\"0\" alt=\""+title+"\"></td>");
}
document.write("<td background=\"png/img_rgt.png\" height=\"100%\"></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td background=\"png/img_btm.png\" width=\"100%\" height=\"8\"></td>");
document.write("<td background=\"png/img_sqr.png\"><img src=\"./png/img_sqr.png\" width=\"8\" height=\"8\" border=\"0\"></td>");
document.write("</tr>")
document.write("</table>");
}

function CreateTable(FileName,FileTitle){

var StrTable="<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"50\" height=\"10\">";
StrTable+="   <tr>";
StrTable+="	   <td width=\"50\"><img src=\"../../images/"+FileName+"\" border=\"0\" alt=\""+FileTitle+"\"></td>";
StrTable+="	   <td background=\"../png/img_rgt.png\" width=\"8\" height=\"100%\"><img src=\"../png/spee.png\" width=\"1\" height=\"1\" border=\"0\"></td>";
StrTable+="	  </tr>";
StrTable+="	  <tr>";
StrTable+="	   <td background=\"../png/img_btm.png\" width=\"100%\" height=\"8\"><img src=\"../png/spee.png\" width=\"1\" height=\"1\" border=\"0\"></td>";
StrTable+="	   <td background=\"../png/img_sqr.png\" width=\"8\" height=\"8\"><img src=\"../png/img_sqr.png\" width=\"8\" height=\"8\" border=\"0\"></td>";
StrTable+="	  </tr>";
StrTable+="	 </table>";

	return StrTable;
}


var win
function showIntro(id){
	if (!win || win.closed)
	{	
		var win = window.open("diseno/_img.asp?id="+id,"win","widht=668,height=400,left=800,top=200");	
		win.moveTo(800,200)
			win.resizeTo(668,400)
			
		for (i=900;i>200;i=i-5){
			win.moveTo(i,200)
		}		
	}	 
	win.focus();
		//win.blur();
	
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function openFullscreen(page) {
var yes = 1;
var no = 0;

var menubar = no;      // The File, Edit, View Menus
var scrollbars = no;   // Horizontal and vertical scrollbars
var locationbar = no;  // The location box with the site URL
var directories = no;  // the "What's New", "What Cool" links
var resizable = no;    // Can the window be resized?
var statusbar = no;    // Status bar (with "Document: Done")
var toolbar = no;      // Back, Forward, Home, Stop toolbar

windowprops = "width=" + (screen.width-10) + ",height=" + (screen.height-50) + ",top=0,left=0";

windowprops += (menubar ? ",menubars" : "") +
(scrollbars ? ",scrollbars" : "") +
(locationbar ? ",location" : "") +
(directories ? ",directories" : "") +
(resizable ? ",resizable" : "") +
(statusbar ? ",status" : "") +
(toolbar ? ",toolbar" : "");

window.open(page, 'fullPopup', windowprops);
}