


function changeclass(tagname,css) 
{
if (document.all) { eval("document.all."+tagname+".className='"+css+"'"); }
if (document.getElementById && !document.all)  { eval("document.getElementById('"+tagname+"')"+".className='"+css+"'"); }
}

function openwin(image, x, y, lezanta) {
	pic=window.open("","PHOTOS","width="+(x+26)+",height="+(y+80)+",titlebar=yes,menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=yes,hotkeys=yes");
	window.pic.document.open();
	content='<html><head><title>Α.ΚΑΛΠΙΝΗΣ - Ν.ΣΙΜΟΣ ΑΕΒΕ</title> <link rel="stylesheet" type="text/css" href="/common/css/global.css"></head>';
	content+='<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgcolor="#F7FBFF">';
	content+='<table width="100%" border="0" cellspacing="0" cellpadding="1"><tr><td align="center"><img src="'+image+'" width="'+x+'" height="'+y+'" border="0"></td></tr>';
	content+='<tr><td align="center"><span class="text"><b>'+lezanta+'</b></span><br><br></td></tr>';
	content+='<tr><td align="center" bgcolor="#63799C"><img src="/common/images/IconArrowTopMenu.gif">&nbsp;&nbsp;<a href="javascript:self.close()" class="openwin">Close Window</a></td></tr></table></body></html>';
	window.pic.document.write(content);
	window.pic.document.close();
}


function show(object)
{
if (document.getElementById && document.getElementById(object) != null)
	node = document.getElementById(object).style.visibility='visible';
else if (document.layers && document.layers[object] != null)
    document.layers[object].visibility = 'visible';
else if (document.all)
	document.all[object].style.visibility = 'visible';
}

function hide(object)
{
if (document.getElementById && document.getElementById(object) != null)
	node = document.getElementById(object).style.visibility='hidden';
else if (document.layers && document.layers[object] != null)
    document.layers[object].visibility = 'hidden';
else if (document.all)
	document.all[object].style.visibility = 'hidden';
}


function IEhide()
{ 
	if(navigator.appName == "Microsoft Internet Explorer") {
		if (document.forms.length)
		{
			if (document.forms[0].fdd!=null && typeof(document.forms[0].fdd)!='undefined')
			{
				//alert('found it');
				hide('IE1'); hide('IE2'); hide('IE3'); 
			}	
		}
	}
}

function IEshow() 
{ 
	if(navigator.appName == "Microsoft Internet Explorer") {
		if (document.forms.length)
		{
			if (document.forms[0].fdd!=null && typeof(document.forms[0].fdd)!='undefined')
			{
				show('IE1'); show('IE2'); show('IE3'); 
			}	
		}
	}
}
