var contenido = '';
contenido = '
';
var cf = '001d76';
isIE = document.all;
isNN = !document.all && document.getElementById;
isHot = false;
function ddInit(e) {
topDog = isIE ? "BODY" : "HTML";
whichDog = document.getElementById("theLayer");
hotDog = isIE ? event.srcElement : e.target;
while (hotDog.id!="titleBar" && hotDog.tagName!=topDog) {
hotDog = isIE ? hotDog.parentElement : hotDog.parentNode;
};
if (hotDog.id=="titleBar") {
offsetx=isIE ? event.clientX : e.clientX;
offsety=isIE ? event.clientY : e.clientY;
nowX=parseInt(whichDog.style.left);
nowY=parseInt(whichDog.style.top);
ddEnabled=true;
document.onmousemove=dd;
document.onmouseup=cleanup;
return false;
};
};
function cleanup(e) {
document.onmousemove=null;
document.onmouseup=null;
};
function dd(e) {
if (!ddEnabled) return;
whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx;
whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
return false;
};
function hideMe() {
if (isIE||isNN) whichDog.style.visibility="hidden";
};
function showMe(){
if (isIE||isNN) whichDog.style.visibility="visible";
};
document.onmousedown=ddInit;
document.onmouseup=function() {
ddEnabled=false;
};
psdocument=window.document;
try {
if (window.parent.document != window.document) {
psdocument = window.parent.document;
}
} catch(e) {
psdocument = window.document;
};
function muestra_layer(ancho,alto) {
try {
var auxt=top.document;
var poperr=0;
} catch(e) {
var poperr=1;
};
if (poperr==0) {
if (!auxt.body) {
auxt.write('');
};
psbody = auxt.body;
var nuevodiv = auxt.createElement("DIV");
nuevodiv.id='theLayer';
nuevodiv.name='theLayer';
with (nuevodiv.style) {
position='absolute';
top='25px';
left='25px';
zIndex=50;
FLOAT= 'left';
};
nuevodiv.innerHTML='Cupidored.com
'+contenido+'
';
if (navigator.appName == 'Netscape') {
psbody.appendChild(nuevodiv);
} else {
if (psbody.children.length > 0) {
psbody.insertBefore(nuevodiv, psbody.children[psbody.children.length-1]);
} else {
psbody.insertBefore(nuevodiv);
}
};
};
};
muestra_layer(664,377);