//script
<!--
					var days = new Array("","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
					var months = new Array(" " ,"January" ,"February" ,"March" ,"April" ,"May" ,"June" ,"July" ,"August" ,"September" ,"October" ,"November" ,"December" ); 
					var dateObj = new Date()
					var wday = days[dateObj.getDay() + 1]
					var lmonth = months[dateObj.getMonth() + 1]
					var date = dateObj.getDate()
					var yearY = dateObj.getYear()
					var yearX = yearY + 543
//					document.write("ΗΡΉ" + wday + "·Υθ " + date + " " + lmonth + " " + yearX)

function fulldate () { //v3.0
					document.write(date + " " + lmonth + " " + yearY)
}

function shortdate () { //v3.0
					document.write(lmonth + " " + yearX)
}

function howold (yearB) { //v3.0
					yearOLD = yearX - yearB
					document.write(yearOLD)
}

function confirmLink(theLink, theSqlQuery)
{
    var is_confirmed = confirm(theSqlQuery);

    if (is_confirmed) {
		document.location= theLink;
    }

    return is_confirmed;
} 



function MM_openLink(linkEngine,linkValue1,linkValue2,mode)
	{
		switch (mode) 
				{ //v2.0
					case "show" :  theURL =  linkEngine + '.php?law_id=' + linkValue1 + '&mode=' + linkValue2
									winName = '_blank'
									features = 'width=670,height=500,scrollbars=1'
							break
					case "link" :  theURL =  linkEngine + '.php?law_id=' + linkValue1 + '&mode=' + linkValue2
									winName = '_blank'
									features = 'width=750,height=500,scrollbars=1'
							break
				}		
		window.open(theURL,winName,features);
	}


function startXTime(theyear){
countDownInterval=theyear;countDownTime=theyear+1
startit(theyear)
}


function countDown(){

countDownTime--;

if (countDownTime <=0)
	{
			countDownTime=countDownInterval;
			clearTimeout(counter)
			window.location.reload()
			return
		}

if (document.all) //if IE 4+
		document.all.countDownText.innerText = countDownTime+" ";
else if (document.getElementById) //else if NS6+
		document.getElementById("countDownText").innerHTML=countDownTime+" "
else if (document.layers){
				document.write('<b id="countDownText">'+countDownTime+' </b>')
				document.close()
			}
counter=setTimeout("countDown()", 1000);
}


function startit(xTime){
	var closexTime = xTime*1000;

	setTimeout("window.close()",closexTime)

	if (document.all||document.getElementById)
	document.write('<b id="countDownText">'+countDownTime+' </b>')
	countDown()
}

function setEnable(setCase,setForm,setName)
{
    var sel = document.getElementById(setName);


switch (setCase) {
					
			case "1" :
									sel.disabled = setForm.checked;
								break

			case "2" :
									sel.disabled =! sel.disabled;
								break

			default :
									sel.disabled = setForm.checked;
								break
											}
}

function changeColor(val) {
//this.form.searchtype.value

document.all.cardBG.bgColor = val;
document.sendecard.cardcolor.value = val;
}

// -->

