
if (top.frames.length > 0){
top.location.href=location.href;
}

function popchat(){
	window.open('http://www.planeton.com/chatwin' , 'chat' , 'width=850,height=580,toolbar=0,directories=0,menubar=0,status=yes,resizable=0,location=0,scrollbars=0,copyhistory=0')
}

function mOon(src,clrOver) {if (!src.contains(event.fromElement)) {src.bgColor = clrOver;}}
function mOvr(src,clrOver) {if (!src.contains(event.fromElement)) {src.style.cursor = 'hand';src.bgColor = clrOver;}}
function mOut(src,clrIn) {if (!src.contains(event.toElement)) {src.style.cursor = 'default';src.bgColor = clrIn;}}
function mClk(src) {if(event.srcElement.tagName=='TD'){src.children.tags('A')[0].click();}}
function Profile(user){var pop = window.open("/profile/viewer.php?usr=" + user ,"popup","width=510,height=510,resizable=yes,scrollbars=yes");}
function Media(id,chn) {var pop = window.open('/media/mediacenter.php?id=' + id + '&chn=' + chn, 'mediacenter' , 'width=350,height=550,status=yes')}
function Chat() {window.open('/chat/' , 'chat' , 'width=640,height=475,toolbar=0,directories=0,menubar=0,status=yes,resizable=yes,location=0,scrollbars=0,copyhistory=0')}
function win(fle,x,y) {window.open(fle , 'zoom' , 'width=' + x + ',height=' + y + ',toolbar=0')}
function MyBionico() {window.open('members.php' , 'messenger' , 'width=170,height=250,toolbar=0,directories=0,menubar=0,status=yes,resizable=0,location=0,scrollbars=0,copyhistory=0')}
function Shop() {window.open("/shop", "shop" , "width=740,height=480,toolbar=yes,menubar=yes,status=yes,resizable=yes,scrollbars=yes")}
function recommend() {window.open('/src/recommend.php?t=<?=urlencode($title)?>&l=<?=urlencode($uri)?>', 'recommend' , 'width=500,height=400,toolbar=yes,menubar=0,status=yes,resizable=0,scrollbars=0')}
function contact(sbj) {window.open('/contact.php' , '_blank' , 'width=400,height=200,toolbar=0')}

nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
if (object != "[object]"){
setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
return;
}
clearTimeout(nereidFadeTimers[object.sourceIndex]);
diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta=Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;
if (object.filters.alpha.opacity != destOp){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
}
}


function visitOut(){
	//var pop = window.open('http://www.planeton.com/', 'partner' , 'width=900,height=700,status=yes,location=yes,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes');
}

