var message="Sorry, this function is disabled.\nCinema.com.cy content is under copyright protection.";
// Don't edit below!

function click(e) {
	if (document.all) {
		if (event.button == 2) {
			alert(message);
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(message);
			return false;
		}
	}
}

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}

document.onmousedown=click;




var dayarray= new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray= new Array("January","February","March","April","May","June","July","August","September","October","November","December")

function show5() {
	var mydate = new Date();
	var year = mydate.getYear();
	if (year < 1000) {
		year += 1900;
	}
	var day = mydate.getDay();
	var month = mydate.getMonth();
	var daym = mydate.getDate();
	if (daym < 10) {
		daym = "0" + daym;
	}
	var hours = mydate.getHours()
	var minutes = mydate.getMinutes()
	var seconds = mydate.getSeconds()
	var dn = "AM";
	if (hours >= 12) {
		dn = "PM";
	}
	if (hours > 12){
		hours = hours - 12;
	}
	if (hours == 0) {
		hours = 12
	}
	if (minutes <= 9) {
		minutes = "0" + minutes;
	}
	if (seconds <= 9) {
		seconds = "0" + seconds;
	}

	if (!document.layers && !document.all && !document.getElementById) {
		return;
	}
	var Digital = new Date();
	var hours = Digital.getHours();
	var minutes = Digital.getMinutes();
	var seconds = Digital.getSeconds();
	var dn = "AM";
//	if (hours > 12) {
//		dn = "PM";
//		hours = hours - 12;
//	}
	if (hours == 0) {
		hours = 12;
	}
	if (minutes <= 9) {
		minutes = "0" + minutes;
	}
	if (seconds <= 9) {
		seconds = "0" + seconds;
	}
//change font size here to your desire
	var myclock = '<span style="font: bold 13px Arial; color: #ffcc33;"><br/>&nbsp;&nbsp;' + hours + ':' + minutes + ':' + seconds + '<br/>';
	myclock += '&nbsp;&nbsp;' + dayarray[day] + '<br/>';
	myclock += '&nbsp;&nbsp;</span><span style="font: normal 10px Arial; color: #ffcc33;">' + daym + ' ' + montharray[month] + ' ' + year + '</span>';

	if (document.layers) {
		document.layers.liveclock.document.write(myclock);
		document.layers.liveclock.document.close();
	} else if (document.all) {
		liveclock.innerHTML = myclock;
	} else if (document.getElementById) {
		document.getElementById("liveclock").innerHTML = myclock;
	}
	setTimeout("show5()", 1000);
}


function MM_jumpMenu(targ, selObj, restore){ //v3.0
	if (selObj.value!=0)
		eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	if (restore) selObj.selectedIndex=0;
}

function newWindow(newPage) {
	if (newPage.value!=0)
		window.open(newPage.value,"newsPaper","toolbar=yes,width=810,height=600,directories=yes,status=yes,scrollbars=yes,resizable=yes,location=yes,menubar=yes");	
	selObj.selectedIndex=0;
}


function js_sudoku_t() {
	var u=document.location.href;
	var t='x';
	if(u.indexOf('?')!=-1) {
		var p=u.indexOf('js_sudoku_t=');
		if(p!=-1) {
			t=u.substr(p,20);
			p=u.indexOf('&',t);
			if(p!=-1) {
				t=t.substr(0,p);
			}
		}
	}
	t = '?' + t;
	return t;
}

function js_sudoku_put() {
	document.write('<scr' + 'ipt language="JavaScript" src="http://www.sudokupuzz.com/js_sudoku.php' + js_sudoku_t() + '"></scr' + 'ipt>');
}