function bloc(){return false;}
function frienddel()
{
var check1=false;
len = document.fform.length;
for (i = 0; i <len; i++)
if(document.fform[i].checked)
check1=true;
if(check1)
return confirm('Are you sure to removve this user from you buddy list?');
else
{
alert('Please select at least 1 Buddy');
return false;
}
}
function favoritedel()
{
var check1=false;
len = document.fform.length;
for (i = 0; i <len; i++)
if(document.fform[i].checked)
check1=true;
if(check1)
return confirm('Are you sure to delete this game(s)?');
else
{
alert('Please select at least 1 game');
return false;
}
}
function popUp(URL){
day=new Date()
id=day.getTime()
eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300');")}
<!--Begin
function popchat(URL){
day=new Date()
id=day.getTime()
eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=634,height=476');")}
<!--Begin
function verify(){
if(document.form.message.value==""){
alert("Comment can not be left blank")
return false}
else{
return true}}
function verifpoll(){
if(document.form.question.value.length < 5){
alert("Question must contain 5 characters at least!")
return false}
else{
return true}}
function verif(){
if(document.form.reportmessage.value==""){
alert("report can not be left blank")
return false}
else{
return true}}
function verif2(){
if(document.form.description.value==""){
alert("the field can not be left blank")
return false}
else{
return true}}
<!--Begin
function verifye(){
if(document.formessage.messagesubject.value==""){
alert("Subject can not be left blank")
return false}
else{
if(document.formessage.message.value==""){
alert("Message can not be left blank")
return false
}else{
return true}}}
<!--
function emo(emo){
document.getElementById("message").value+=emo}
<!--
function confirmDelete(){
var ok=confirm("Are you sure you want to delete this message(s)?")
if(ok)
return true
else
return false}
function verifcontact(){
if(document.formcontact.sendername.value==""){
alert("Please enter your name!")
return false}
var email=document.formcontact.senderemail.value
if(email.search(/^[_a-z0-9-]+(.[_a-z0-9-]+)*[^._-]@[a-z0-9-]+(.[a-z0-9]{2,4})*$/)==-1)
{alert('Please enter a valid Email Address!')
document.formcontact.senderemail.focus()
return false}
if(document.formcontact.messagesubject.value==""){
alert("Regarding can not be left blank!")
return false}
if(document.formcontact.message.value==""){
alert("Message can not be left blank!")
return false
}else{
return true}}
<!--
function confirmDeletegame(){
var ok=confirm("Are you sure you want to remove this game(s)?")
if(ok)
return true
else
return false}
var ns6=document.getElementById&&!document.all
function restrictinput(maxlength,e,placeholder){
if(window.event&&event.srcElement.value.length>=maxlength)
return false
else if(e.target&&e.target==eval(placeholder)&&e.target.value.length>=maxlength){
var pressedkey=/[a-zA-Z0-9\.\,\/]/
if(pressedkey.test(String.fromCharCode(e.which)))
e.stopPropagation()}}
function countlimit(maxlength,e,placeholder){
var theform=eval(placeholder)
var lengthleft=maxlength-theform.value.length
var placeholderobj=document.all? document.all[placeholder] : document.getElementById(placeholder)
if(window.event||e.target&&e.target==eval(placeholder)){
if(lengthleft<0)
theform.value=theform.value.substring(0,maxlength)
placeholderobj.innerHTML=lengthleft}}
function displaylimit(thename,theid,thelimit){
var theform=theid!=""? document.getElementById(theid): thename
var limit_text='<b><span id="'+theform.toString()+'">'+thelimit+'</span></b> characters remaining on your input limit'
if(document.all||ns6)
document.write(limit_text)
if(document.all){
eval(theform).onkeypress=function(){return restrictinput(thelimit,event,theform)}
eval(theform).onkeyup=function(){countlimit(thelimit,event,theform)}}
else if(ns6){
document.body.addEventListener('keypress',function(event){restrictinput(thelimit,event,theform)},true)
document.body.addEventListener('keyup',function(event){countlimit(thelimit,event,theform)},true)}}

function calc() {

first = document.loveform.name1.value.toUpperCase();
firstlength = document.loveform.name1.value.length;
second = document.loveform.name2.value.toUpperCase();
secondlength = document.loveform.name2.value.length;
var LoveCount=0;

for (Count=0; Count < firstlength; Count++) {
letter1=first.substring(Count,Count+1);
if (letter1=='L') LoveCount+=2; 
if (letter1=='O') LoveCount+=2; 
if (letter1=='V') LoveCount+=2; 
if (letter1=='E') LoveCount+=2; 
if (letter1=='Y') LoveCount+=3; 
if (letter1=='O') LoveCount+=1; 
if (letter1=='U') LoveCount+=3;
}
for (Count=0; Count < secondlength; Count++) {
letter2=second.substring(Count,Count+1);
if (letter2=='L') LoveCount+=2;
if (letter2=='O') LoveCount+=2; 
if (letter2=='V') LoveCount+=2; 
if (letter2=='E') LoveCount+=2;
if (letter2=='Y') LoveCount+=3;
if (letter2=='O') LoveCount+=1;
if (letter2=='U') LoveCount+=3; 
}
amount=0;
if (LoveCount> 0) amount=  5-((firstlength+secondlength)/2)
if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
if (LoveCount>22) amount=110-((firstlength+secondlength)/2)
if (firstlength==0 || secondlength==0) amount= "Err";
if (amount < 0) amount= 0;
if (amount >99) amount=99;

document.loveform.output.value=amount+"%";
}

var cinmode = '';
function cinemamode(mode)
{
  if (mode == 1)
  {
    resizecinema();
	cinmode=1;
	document.getElementById('playerdiv').style.zIndex = '100';
	document.getElementById('cinemamenu_on').style.display = 'none';
	changeOpac(0,'dimlights1');
	document.getElementById('dimlights1').style.display = 'block';
	opacity('dimlights1', 0, 75, 750);
	setTimeout("document.getElementById('cinemamenu_off').style.display = 'block';",750);
	document.getElementById('cinemamenu_off').style.zIndex = '100';
	
  }
  else
  {
	document.getElementById('cinemamenu_off').style.display = 'none';
	opacity('dimlights1', 75, 0, 500);
	setTimeout("document.getElementById('playerdiv').style.zIndex = '0';",750);
	setTimeout("document.getElementById('dimlights1').style.display='none';",750);
	setTimeout("document.getElementById('cinemamenu_on').style.display = 'block';",750);
	cinmode=0;
  }
}
function opacity(id, opacStart, opacEnd, millisec) { 
    //speed for each frame 
    var speed = Math.round(millisec / 100); 
    var timer = 0; 
    if(opacStart > opacEnd) { 
        for(i = opacStart; i >= opacEnd; i--) { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } else if(opacStart < opacEnd) { 
        for(i = opacStart; i <= opacEnd; i++) 
            { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } 
} 
function changeOpac(opacity, id) { 
    var object = document.getElementById(id).style; 
    object.opacity = (opacity / 100); 
    object.MozOpacity = (opacity / 100); 
    object.KhtmlOpacity = (opacity / 100); 
    object.filter = "alpha(opacity=" + opacity + ")"; 
} 
function resizecinema()
{
  document.getElementById('dimlights1').style.width  = document.body.clientWidth;
  document.getElementById('dimlights1').style.height = document.body.clientHeight;
}