function writeflash(o,m,w,h,p,oid) {
var p=unescape(p);
var obj = document.getElementById(o);
if (obj==null){
alert(o+' MISSING');
return;
}
if (oid!=null && oid!=undefined) {tag_name="NAME='"+oid+"'";} else {tag_name="";}
if (oid!=null && oid!=undefined) {oid="id='"+oid+"'";} else {oid="";}
f="";
obj.innerHTML=f
}
function writeflash2(o,m,w,h,p,oid) {
p=unescape(p);
obj = document.getElementById(o);
if (obj==null){alert(o+' MISSING');return;}
if (oid!=null && oid!=undefined) {tag_name="NAME='"+oid+"'";} else {tag_name="";}
if (oid!=null && oid!=undefined) {oid="id='"+oid+"'";} else {oid="";}
f="";
obj.innerHTML=f
}var imgs=DIR+"/artworks";
//CAMBIAR COLOR TR
function mOvr(src,clrOver) {
if(clrOver=='') {clrOver = '#B9D7EA'};
defaultColor = src.bgColor;
src.bgColor = clrOver;
}
function mOut(src) {
src.bgColor = defaultColor;
}
//BOOKMARK
function SetBookMark() {
var title=url_tobookmark;
if( window.sidebar && window.sidebar.addPanel ) {
window.sidebar.addPanel(title,location.href,'');
} else {
window.external.AddFavorite(location.href,title);
}
}
//AGREGAR CLASE
function MO2(ly,clases) {
//alert(ly+"-->"+clases+"->"+ly.innerHTML);
/*
if (!ly) ly=getObj(ly);
if (ly==null) {return}
class_def = "class";
//if (BrowserDetect.browser=="Explorer")
class_def = "className";
var cn = setget_attr(ly,class_def);
var oc = setget_attr(ly,'oldclass');
if (clases==undefined)
{
if (oc!=undefined)
setget_attr(ly,class_def,oc);
return;
}
setget_attr(ly,'oldclass', cn);
setget_attr(ly,class_def,cn+" "+clases);
*/
// ly.className=cn+" "+clases;
}
//OCULTAR LAYERS
function force_hide(ly) {
veclayers=ly.split(",");
for (var i=0;i document.body.offsetHeight){
xScroll = document.body.scrollWidth;
yScroll = document.body.scrollHeight;
} else {
xScroll = document.body.offsetWidth;
yScroll = document.body.offsetHeight;
}
var windowWidth, windowHeight;
if (self.innerHeight) {
windowWidth = self.innerWidth;
windowHeight = self.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) {
windowWidth = document.documentElement.clientWidth;
windowHeight = document.documentElement.clientHeight;
} else if (document.body) { // other Explorers
windowWidth = document.body.clientWidth;
windowHeight = document.body.clientHeight;
}
if(yScroll < windowHeight){
pageHeight = windowHeight;
} else {
pageHeight = yScroll;
}
if(xScroll < windowWidth){
pageWidth = windowWidth;
} else {
pageWidth = xScroll;
}
arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight)
return arrayPageSize;
}
function forzar_mostrar_layer_transparente() {
obj=getObj("ly_transparente");
obj.style.display="";
obj.style.width=getPageSize()[0];
obj.style.height=getPageSize()[1];
}
function forzar_ocultar_layer_transparente() {
obj=getObj("ly_transparente");
if (obj==null)
{
alert("layer_transparente no encontrado"); return;
}
obj.style.display="none";
}