﻿var ieType=(typeof window.innerWidth != 'number');
    var x 
    var y
    var i = 0
	function mouseMove(e) {
	try {
	if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
			x =  event.x+document.documentElement.scrollLeft ; 
			y =  event.y+document.documentElement.scrollTop ; 
		} else {
		
			x = e.pageX ;
			y = e.pageY ;
		}

	
	    } catch(ex) {}	
/*
try {
	var sitewidth  = 1010;
    var emptyareaWL = (document.body.clientWidth - sitewidth ) / 2;
    var emptyareaWR = (document.body.clientWidth - emptyareaWL );

	if (( x>(emptyareaWR-200) && x<=emptyareaWR && y > 27 && y < 80) ){ 
		document.body.style.cursor = 'hand';
		}
		 else {
	 	document.body.style.cursor = 'default';
	}   
} catch(ex) { }		    
*/
	}
	
document.onmousemove=mouseMove;
//document.onclick=advclick ;


function advclick(e){
	var sitewidth  = 1010;
    var emptyareaWL = (document.body.clientWidth - sitewidth ) / 2;
    var emptyareaWR = (document.body.clientWidth - emptyareaWL );

	if (( x>(emptyareaWR-200) && x<=emptyareaWR && y > 27 && y < 80) ){ 
		window.open('http://www.hello-hello.gr');
	}
    
	
}
function showpage(sitename) {	
try {

	if (sitename!='News' && sitename!='showbiz'){
            document.getElementById(sitename).style.display = 'block';
		}
	else if(sitename=='showbiz'){
            document.getElementById(sitename).style.display = 'block';
	}	
	else {
            document.getElementById(sitename).style.display = 'block';
		 }
     }
     catch(ex){ }
   } 
function subpage(guid, sname){

 if (document.getElementById(guid)){
	if (sname!='SHOW BIZ' && sname !='Galleries' && sname !='Movies' && sname !='Music' && sname != 'VIPS' && sname != 'Fun Area'){
			document.getElementById(guid).className = 'activeSub' ;
	}
	else {
		document.getElementById(guid).className = 'activeSubShowBiz' ;
	}
 }	
}   
function clock() {
		if (!document.layers && !document.all) return;
		var digital = new Date();
		var hours = digital.getHours();
		var minutes = digital.getMinutes();
		var seconds = digital.getSeconds();
		var amOrPm = "πμ";
		if (hours > 11) amOrPm = "μμ";
		if (hours > 12) hours = hours - 12;
		if (hours == 0) hours = 12;
		if (minutes <= 9) minutes = "0" + minutes;
		if (seconds <= 9) seconds = "0" + seconds;
		dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;
		if (document.layers) {
		document.layers.pendule.document.write(dispTime);
		document.layers.pendule.document.close();
	}
		else
			if (document.all.pendule)
			pendule.innerHTML = dispTime;
	setTimeout("clock()", 1000);
	}	

	document.write('<script language="javascript" type="text/javascript" src="/javascripts/showSWF.js"></scr'
	+'ipt>');	

function showToolTip(a,b,c){
try {

	document.getElementById('tooltip').innerHTML = '' ;
	makeTitleRequest("/_layouts/Ant1Controls/hover.aspx?webId="+ a +"&listId="+ b +"&listitem=" + c );
	document.getElementById('tooltip').style.left= (x-50) +'px'; 
		if (y>=(document.body.clientHeight-300)){
		 		document.getElementById('tooltip').style.top= (y-50) +'px';	
			} else{	
				document.getElementById('tooltip').style.top= (y+20) +'px';	
			}
			document.getElementById('tooltip').style.visibility = 'visible' ;
			} catch(ex){}	
		}
function movetooltip(){
if (document.getElementById('tooltip')){
	document.getElementById('tooltip').style.left=(x-50) +'px'; 
		 if (y>=(document.body.clientHeight-300)){
		 		document.getElementById('tooltip').style.top= (y-150) +'px';	
			} else{	
				document.getElementById('tooltip').style.top= (y+20) +'px';	
			}
 	}	
}
function hidetooltip(){
	if (document.getElementById('tooltip')){
		document.getElementById('tooltip').style.width = '0px' ;

		document.getElementById('tooltip').style.display = 'none' ;
		document.getElementById('tooltip').innerHTML = '' ;
		}	
	}
function makeTitleRequest(url, parameters) {
	  http_request = false;
      if (window.XMLHttpRequest) { 
         http_request = new XMLHttpRequest();
         if (http_request.overrideMimeType) {
            http_request.overrideMimeType('text/html');
         }
      } else if (window.ActiveXObject) {
         try {
            http_request = new ActiveXObject("Msxml2.XMLHTTP");
         } catch (e) {
            try {
               http_request = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e) {}
         }
      }
      if (!http_request) {
         alert('Cannot create XMLHTTP instance');
         return false;
      }
      http_request.onreadystatechange = parseTitles;
      http_request.open('GET', url , true);
      http_request.send(null);
   }

function parseTitles() {
      if (http_request.readyState == 4) {
         if (http_request.status == 200) {
	        document.getElementById('tooltip').style.width = '300px' ;
        	document.getElementById('tooltip').style.display = 'block' ;

        	document.getElementById('tooltip').filters[0].apply();
        	document.getElementById('tooltip').innerHTML = http_request.responseText;
        	document.getElementById('tooltip').filters[0].play();
         } else {
            alert('There was a problem with the request.');
         }
      }
   }


var preid = '';
function showBizTeaser(id){
	document.getElementById('hh'+id).style.display = 'block' ;
	if (preid!='' && preid != id){document.getElementById('hh' + preid).style.display = 'none'}
	preid = id ;
}


function showBizGal(img,mymovie){
if (mymovie=='' || typeof(mymovie)=='undefined'){
			getMovieName("showBizz").changeTheImage(img); 
		}
		else {
			getMovieName(mymovie).changeTheImage(img); 
		}
 }
function getMovieName(movieName) {

        var isIE = navigator.appName.indexOf("Microsoft") != -1;
        return (isIE) ? window[movieName] : document[movieName];


/*
    if (navigator.appName.indexOf("Microsoft") != -1) {
    		return document.getElementById(movieName) ; 
    	}
    else {
    		return document[movieName];
     	}
     	*/
}
function changeTheVideo(a,b){
			var so = new SWFObject("/SiteCollectionImages/Flash/flvPlayer.swf?imagePath=/msa1/FlashVideo/123play/thumbs/"+ b +"&videoPath=http://extranet.antenna.gr/flvsteaming/resources/flashvideo/123play/"+ a +"&autoStart=true&volAudio=60&newWidth=300&newHeight=250&disableMiddleButton=false&playSounds=true", "musicvideo", "300", "250", "9", "#efefef");
			so.addParam("allowFullScreen", "true") ;
			so.write("flashcontent") ;
}
function changeTheVideoNews(a,b){
			var so = new SWFObject("/SiteCollectionImages/Flash/flvPlayer.swf?imagePath=/msa1/FlashVideo/news/thumbs/"+ b +"&videoPath=http://extranet.antenna.gr/flvsteaming/resources/flashvideo/news/"+ a +"&autoStart=true&volAudio=60&newWidth=300&newHeight=250&disableMiddleButton=false&playSounds=true", "musicvideo", "290", "218", "9", "#efefef");
			so.addParam("allowFullScreen", "true") ;
			so.write("flashcontent") ;
}
function changeTheVideoPortalHome(a,b){
			var so = new SWFObject("/SiteCollectionImages/Flash/flvPlayer.swf?imagePath=/msa1/FlashVideo/news/thumbs/"+ b +"&videoPath=http://extranet.antenna.gr/flvsteaming/resources/flashvideo/news/"+ a +"&autoStart=true&volAudio=60&newWidth=310&newHeight=255&disableMiddleButton=false&playSounds=true", "musicvideo", "310", "255", "9", "#efefef");
			so.addParam("allowFullScreen", "true") ;
			so.addParam("wmode", "transparent");			
			so.write("flashcontent") ;
}

function splitVideos(myString){
var myURL = myString.split("||");
	if (myString!=''){
		document.write('<div style="margin-top:2px; clear:both;"><table cellpadding="0" cellspacing="0" width="100%">')
			for(i = 0; i < myURL.length; i++){
				if (myURL[i]!=''){
					document.write('<tr><td style="width:20px;" valign="middle"><img hspace="4" src="/SiteCollectionImages/SiteImages/camera_pop_red.gif" align="absmiddle" hspace="2" border="0"></td><td width="320" class="vid">' + myURL[i] + '</td></tr>' ) ; 
					}	
		  	}
		document.write('</div></table>')
	  }
}
function splitVideosInline(myString){
var myURL = myString.split("||");
	if (myString!=''){
		
			for(i = 0; i < myURL.length; i++){
				if (myURL[i]!=''){
					document.write('<img hspace="4" src="/SiteCollectionImages/SiteImages/camera_pop_red.gif" align="absmiddle" hspace="2" border="0">' + myURL[i] + '' ) ;
					}	
		  	}
		
	  }
}

function videohandler(id){
	/*
	var videodiv
	var videostroke
	videodiv = document.getElementById('videodiv');	
	

	videodiv.style.display = 'block'; 
	

	if (y>=(document.body.clientHeight-500)){
		videodiv.style.top = (y-400) +'px';
	}
	else 
	{
		videodiv.style.top = (y-60) +'px';

	}

	if (x>=(document.body.clientWidth-650))
	{
		videodiv.style.left = (x-400) +'px';	
	}
	else 
	{
		videodiv.style.left = (x-100) +'px';	
	}
	

    iframeHTML='\<iframe id="videowin" ALLOWTRANSPARENCY="true" scrolling="0" src="" frameborder="0" style="';
    iframeHTML+='border:0px;';
    iframeHTML+='width:610px;';
    iframeHTML+='height:500px;';
    iframeHTML+='"><\/iframe>';  
      
    videodiv.innerHTML = iframeHTML ;  

    document.getElementById('videowin').src = '/_layouts/Ant1Controls/floatvideo2.aspx?id=' + id ;	
*/
window.open('http://webtv.antenna.gr/webtv/proxy?c=' + id)
//location.href = 'http://www.antenna.gr/webtv/proxy?c=' + id ;
}

function show611(){
	var videodiv
	var videostroke
	videodiv = document.getElementById('videodiv');	
	

	videodiv.style.display = 'block'; 
	


	videodiv.style.top = (y-250) +'px';
	videodiv.style.left = (x-350) +'px';	

	

    iframeHTML='\<iframe id="videowin" ALLOWTRANSPARENCY="true" scrolling="0" src="" frameborder="0" style="';
    iframeHTML+='border:0px;';
    iframeHTML+='width:655px;';
    iframeHTML+='height:520px;';
    iframeHTML+='"><\/iframe>';  
      
    videodiv.innerHTML = iframeHTML ;  

    document.getElementById('videowin').src = '/_layouts/Ant1Controls/float611.aspx' ;	

}


function photogallery(path,wb,pwb,lt,it){
if (!document.getElementById('pictures')){
		 var newdiv = document.createElement('div');
		 
		 newdiv.setAttribute('id', 'pictures');
		 newdiv.className = 'photogallery'  ;
		 newdiv.style.zIndex = "100000000" ;
		 newdiv.style.position="absolute"
		 newdiv.style.top= (y-50) ;
		 newdiv.style.left= (x-250); 
	 
		 document.body.appendChild(newdiv); 
	     iframeHTML='\<iframe id="photogallery" scrolling="0" src="" frameborder="0" style="';
	     iframeHTML+='border:0px;';
	     iframeHTML+='width:100px;';
	     iframeHTML+='height:100px;';
	     iframeHTML+='"><\/iframe>';  
	      
	     newdiv.innerHTML = iframeHTML ; 
	     document.getElementById('photogallery').src = '/_layouts/Ant1Controls/newsimage.aspx?img='+ path +'&wb=' + wb + '&pwb=' + pwb + '&ltx=' + lt + '&it=' + it ;
	    
     } 
    else {
		var picFrame = document.getElementById("photogallery").contentWindow.document
		picFrame.getElementById('newsimage').src = '/resources/images/' + path ;
     }
}

function hidevideos(){
	document.getElementById('videodiv').innerHTML = '' ;
	document.getElementById('videodiv').style.display = 'none' ;
}
function showZodio(zid){
	var shd ;
	shd = document.getElementById('hdesc')
	shd.style.display = 'block';

	if (y>=(document.body.clientHeight-500)){
		shd.style.top = (y-400) +'px';
	}
	else 
	{
		shd.style.top = (y-60) +'px';

	}

	if (x>=(document.body.clientWidth-650))
	{
		shd.style.left = (x-400) +'px';	
	}
	else 
	{
		shd.style.left = (x-100) +'px';	
	}

	
    iframeHTML='\<iframe id="horoscopeswin" ALLOWTRANSPARENCY="true" scrolling="0" src="" frameborder="0" style="';
    iframeHTML+='border:0px;';
    iframeHTML+='width:450px;';
    iframeHTML+='height:400px;';
    iframeHTML+='"><\/iframe>';  
      
    shd .innerHTML = iframeHTML ;  

    document.getElementById('horoscopeswin').src = '/_Layouts/ant1controls/zodiatxt.aspx?zodioid=' + zid;	
}

function showSBgallery(url){
	var shd ;
	shd = document.getElementById('videodiv')
	shd.style.display = 'block';

	if (y>=(document.body.clientHeight-500)){
		shd.style.top = (y-400) +'px';
	}
	else 
	{
		shd.style.top = (y-60) +'px';

	}

	if (x>=(document.body.clientWidth-650))
	{
		shd.style.left = (x-400) +'px';	
	}
	else 
	{
		shd.style.left = (x-100) +'px';	
	}

	
    iframeHTML='\<iframe id="horoscopeswin" ALLOWTRANSPARENCY="true" scrolling="0" src="" frameborder="0" style="';
    iframeHTML+='border:0px;';
    iframeHTML+='width:480px;';
    iframeHTML+='height:385px;';
    iframeHTML+='"><\/iframe>';  
      
    shd .innerHTML = iframeHTML ;  
    document.getElementById('horoscopeswin').src = '/_Layouts/ant1controls/sbgallery.aspx?url=' + url;	
}

function closeSBGallery(){
	var shd ;
	shd = document.getElementById('videodiv');
	shd.innerHTML = '';
	shd.style.display = 'none';
}


function openfromRequest(zid){
	var shd ;
	shd = document.getElementById('hdesc')

	shd.style.display='block' ;
	shd.style.top = 200 ;
	shd.style.left = (document.body.clientWidth/2)-250 ;
    iframeHTML='\<iframe id="horoscopeswin" ALLOWTRANSPARENCY="true" scrolling="0" src="" frameborder="0" style="';
    iframeHTML+='border:0px;';
    iframeHTML+='width:450px;';
    iframeHTML+='height:400px;';
    iframeHTML+='"><\/iframe>';  
      
    shd .innerHTML = iframeHTML ;  

    document.getElementById('horoscopeswin').src = '/_Layouts/ant1controls/zodiatxt.aspx?zodioid=' + zid;

}
function hideHoroscope(){
	var shd ;
	shd = document.getElementById('hdesc');
	shd.innerHTML = '';
	shd.style.display = 'none';
	//return ;
}

var maxindex = 1000 ;
var jobj ;
function changeorder(obj){
    maxindex = maxindex + 1 ;
    obj.style.zIndex = maxindex ;
}
function creatediv(id, classnamex, layerstyle) { 
   var newdiv = document.createElement('div');
   newdiv.setAttribute('id', id);
   newdiv.className = classnamex  ;
   newdiv.style.zIndex = maxindex +1 ;
   newdiv.setAttribute('style',layerstyle) ;
   newdiv.onclick = Function("changeorder(this)");
   document.body.appendChild(newdiv); 
   jobj = document.getElementById(id);
}
function removediv(id){
	var obj ;
	obj = document.getElementById(id);
	document.body.removeChild(obj);

}

function parseOtherContent(url, fnc){
	creatediv(fnc,fnc,'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=0.25);');
	if (document.getElementById(fnc).style.display=='none' || document.getElementById(fnc).style.display==''){
	      http_request = false;
	      
	      if (window.XMLHttpRequest) { 
	         http_request = new XMLHttpRequest();
	         if (http_request.overrideMimeType) {
	            http_request.overrideMimeType('text/html');
	         }
	      } else if (window.ActiveXObject) {
	         try {
	            http_request = new ActiveXObject("Msxml2.XMLHTTP");
	         } catch (e) {
	            try {
	               http_request = new ActiveXObject("Microsoft.XMLHTTP");
	            } catch (e) {}
	         }
	      }
	      if (!http_request) {
	         alert('Cannot create XMLHTTP instance');
	         return false;
	      }
			switch(fnc)
			{
				case 'antennasites':
		      		http_request.onreadystatechange = showANT1Sites; 
		      		break;
				case 'antennaservices':
		      		http_request.onreadystatechange = showANT1Services; 
		      		break;
		      		
	      	}
	      http_request.open('GET', '/_Layouts/ant1controls/' + url , true);
	      http_request.send(null);
	} else { 
		removediv(fnc);
    }	

}
function subscribe(t){
	if (readCookie("USR")!=null) {
		postSubscription(t) ;
	}
	else {
		var ask ;
		ask = confirm('Πρέπει να είστε χρήστης για να μπορέσετε να κάνετε εγγραφή στις θεματικές ενότητες των ειδήσεων!\nΘελετε να κάνετε εγγραφή?');
		if (ask){
			_register();
		}
		else {}
	}
}

function postSubscription(t){
	http_request = false;
if (window.XMLHttpRequest) { 
	http_request = new XMLHttpRequest();
	if (http_request.overrideMimeType) {
	            http_request.overrideMimeType('text/html');
	}
} else if (window.ActiveXObject) {
 	try {
	            http_request = new ActiveXObject("Msxml2.XMLHTTP");
	         } catch (e) {
	            try {
	               http_request = new ActiveXObject("Microsoft.XMLHTTP");
	            } catch (e) {}
	         }
	      }
	      if (!http_request) {
	         alert('Cannot create XMLHTTP instance');
	         return false;
	      }
		  http_request.onreadystatechange = printsub; 
	      http_request.open('GET', '/_Layouts/ant1controls/userThematic.aspx?t=' + t , true);
	      http_request.send(null);
}
function printsub(){
if (http_request.readyState == 4) {
	if (http_request.status == 200) {
		if (http_request.responseText=='ok'){
				document.getElementById('thematic').innerHTML = '';
				alert('Η εγγραφή σας στη θεματική ενότητα ήταν επιτυχής');
				
			}
			else {
				alert('Δημιουργήθηκε λάθος κατα την εγγραφή σας\nΔοκιμάστε αργότερα.')
	
			}
		}
	}
}
function unsubscribe(t){
	postUnSubscription(t);

}
function postUnSubscription(t){
	http_request = false;
if (window.XMLHttpRequest) { 
	http_request = new XMLHttpRequest();
	if (http_request.overrideMimeType) {
	            http_request.overrideMimeType('text/html');
	}
} else if (window.ActiveXObject) {
 	try {
	            http_request = new ActiveXObject("Msxml2.XMLHTTP");
	         } catch (e) {
	            try {
	               http_request = new ActiveXObject("Microsoft.XMLHTTP");
	            } catch (e) {}
	         }
	      }
	      if (!http_request) {
	         alert('Cannot create XMLHTTP instance');
	         return false;
	      }
		  http_request.onreadystatechange = printun; 
	      http_request.open('GET', '/_Layouts/ant1controls/unsubscribeThematic.aspx?t=' + t , true);
	      http_request.send(null);
}
function printun(){
if (http_request.readyState == 4) {
	if (http_request.status == 200) {
		if (http_request.responseText=='ok'){
				document.getElementById('thematic').innerHTML = '';
				alert('Η διαγραφή σας από τη θεματική ενότητα ήταν επιτυχής');
				
			}
			else {
				alert('Δημιουργήθηκε λάθος κατα την διαγραφή σας\nΔοκιμάστε αργότερα.')
			}
		}
	}
}
var myx ;
myx = 0 ;
function _register(){
if (!document.getElementById('register')){
		 var newdiv = document.createElement('div');
		 
		 newdiv.setAttribute('id', 'register');
		 newdiv.className = 'register'  ;
		 newdiv.style.zIndex = "100000000" ;
		 newdiv.style.position="absolute"
		 newdiv.style.top= (y+20) ;
		 if (myx==0){
		 newdiv.style.left= (x-630); 
		 }
		 else {
		    newdiv.style.left= x; 
		    newdiv.style.top = 100;
			myx = 0;
		 }
		 document.body.appendChild(newdiv); 
	     iframeHTML='\<iframe id="registerwin" scrolling="no" src="" frameborder="0" style="';
	     iframeHTML+='border:0px;background-color:transparent;';
	     iframeHTML+='width:650px;';
	     iframeHTML+='height:500px;';
	     iframeHTML+='"><\/iframe>';  
	      
	     newdiv.innerHTML = iframeHTML ; 
	     document.getElementById('registerwin').src = '/_layouts/Ant1Controls/register.aspx';
	    
     } 
     else {
			var obj = document.getElementById('register');
			document.body.removeChild(obj);
     
     }
}

function _print(w,l,i){
if (!document.getElementById('print')){
		 var newdiv = document.createElement('div');
		 
		 newdiv.setAttribute('id', 'print');
		 // newdiv.className = 'register'  ;
		 newdiv.style.zIndex = "100000000" ;
		 newdiv.style.position="absolute"
		 newdiv.style.top= (y+20) ;
		 if (myx==0){
		 newdiv.style.left= (x-630); 
		 }
		 else {
		    newdiv.style.left= x; 
		    newdiv.style.top = 100;
			myx = 0;
		 }
		 document.body.appendChild(newdiv); 
	     iframeHTML='\<iframe id="printwin" ALLOWTRANSPARENCY="true" scrolling="no" src="" frameborder="0" style="';
	     iframeHTML+='border:0px;background-color:transparent;';
	     iframeHTML+='width:630px;';
	     iframeHTML+='height:500px;';
	     iframeHTML+='"><\/iframe>';  
	      
	     newdiv.innerHTML = iframeHTML ; 
	     document.getElementById('printwin').src = "/_Layouts/Ant1Controls/printheader.aspx?w=" + w + "&l=" + l + "&i=" + i;
	    
     } 
     else {
			var obj = document.getElementById('print');
			document.body.removeChild(obj);
     
     }
}
function _email(w,l,i){
if (!document.getElementById('email')){
		 var newdiv = document.createElement('div');
		 
		 newdiv.setAttribute('id', 'email');
		 // newdiv.className = 'email'  ;
		 newdiv.style.zIndex = "100000000" ;
		 newdiv.style.position="absolute"
		 newdiv.style.top= (y+20) ;
		 newdiv.style.left= (x-350); 

		 document.body.appendChild(newdiv); 
	     iframeHTML='\<iframe id="emailwin" scrolling="no" ALLOWTRANSPARENCY="true" src="" frameborder="0" style="';
	     iframeHTML+='border:0px;background-color:transparent;';
	     iframeHTML+='width:411px;';
	     iframeHTML+='height:250px;';
	     iframeHTML+='"><\/iframe>';  
	      
	     newdiv.innerHTML = iframeHTML ; 
	     document.getElementById('emailwin').src = "/_Layouts/Ant1Controls/email.aspx?webId=" + w + "&listId=" + l + "&listitem=" + i;
	    
     } 
     else {
			var obj = document.getElementById('email');
			document.body.removeChild(obj);
     
     }
}

function _recover(){
if (!document.getElementById('recover')){
		 var newdiv = document.createElement('div');
		 
		 newdiv.setAttribute('id', 'recover');
		 newdiv.className = 'recovercss'  ;
		 newdiv.style.zIndex = "100000000" ;
		 newdiv.style.position="absolute"
		 newdiv.style.top= (y+20) ;
		 newdiv.style.left= (x-250); 
		 
		 document.body.appendChild(newdiv); 
	     iframeHTML='\<iframe id="recoverwin" scrolling="no" src="" frameborder="0" style="';
	     iframeHTML+='border:0px;background-color:transparent;';
	     iframeHTML+='width:250px;';
	     iframeHTML+='height:150px;';
	     iframeHTML+='"><\/iframe>';  
	      
	     newdiv.innerHTML = iframeHTML ; 
	     document.getElementById('recoverwin').src = '/_layouts/Ant1Controls/recover.aspx';
	    
     } 
     else {
			var obj = document.getElementById('recover');
			document.body.removeChild(obj);
     
     }
}
function showLogin(){
    document.getElementById('LoginDiv').style.display = 'block';
    document.getElementById('LoginDiv').style.top = y+20 ;
    document.getElementById('LoginDiv').style.left = x - 210;  
    document.getElementById('LoginDiv').style.position = 'absolute' ;
    document.getElementById('LoginDiv').style.zIndex = '100000'
}
function hidelogin(){
    document.getElementById('LoginDiv').style.display = 'none';
}
function expandWeather(){
	var flash = document.getElementById('topwmoz');
	document.getElementById('dummydiv').style.height = '560px'
	flash.setAttribute("height", "560");

}
function collapseWeather(){
	var flash = document.getElementById('topwmoz');
	document.getElementById('dummydiv').style.height = '120px'
	flash.setAttribute("height", "120");	
}

var woms = new Array();
function womOn(){  
	window.onload = womGo;
}
function womGo(){  
	for(var i = 0;i < woms.length;i++)    
	eval(woms[i]);
}
function womAdd(func){  
	woms[woms.length] = func;
}
function openuploads(){
	//window.open('http://extranet.antenna.gr/upload','uploadwin','width=680,height=600,scrollbars=1');
	location.href='http://www.antenna.gr/webtv/usercategories?cid=3&newuser=1';
}