/* this part make sure that this page will fulfill the window  */

function wintop()
   {
   		if (window != top) 
		    {
			  top.location.href = location.href;
			}  
   }
   
   
   /*  this part create the date to the main page  */
function newWindow()
   {
	    window.open('newpage.htm','subwin','scrollbars=yes height=300 width=550');
   }
function getDate()
   {
        var a=12;
		var b=15;
		today=new Date();
		day=today.getDay()+1;
		months=today.getMonth()+1;
		dates=today.getDate();
		years=today.getYear();
		   if(day==1)
	    {
		   day="Sunday, ";
		}
	else if(day==2)
	    {
		   day="Monday, ";
	    }
	else if(day==3)
	    {
		   day="Tuesday, ";}
	else if(day==4)
		{
		   day="Wednesday, ";
		}
	else if(day==5)
	    {
		   day="Thursday, ";
		}
	else if(day==6)
	    {
		   day="Friday, ";
	    }
	else if(day==7)
	    {
		   day="Saturday, ";
		}
	if(months==1)
	    { 
		   months="January ";
		}
    else if(months==2)
	    {
		   months="February ";
		}
	else if(months==3)
	    {
		   months="March ";
		}
	else if(months==4)
	    {
		   months="April ";
		}
	else if(months==5)
	    {
		   months="May ";
		}
    else if(months==6)
	    {
		   months="June ";
		}
	else if(months==7)
	    {
		   months="July ";
		}
	else if(months==8)
	    {
		   months="August ";
		}
	else if(months==9)
	    {
		   months="September ";
	    }
    else if(months==10)
	    {
		   months="October ";
		}
	else if(months==11)
	    {
		   months="November ";
		}
	else if(months==12)
	    {
		   months="December ";
		}
	document.write('<FONT size="2" FACE="sans-serif">'+day+months+dates+', 2003</FONT>')	}	
	
	
	
	/* 
	This part create the countries menu that apears at the left side of the main page
	
var countries = new Array("Czech", "Finland", "Germany", "Hungary", "Ireland", "Israel", "Italy", "Japan", "Malta", "Poland", "Russia")
var countryLinkLine = ""
var tempCountry
var countryLength 

countryLength = countries.length;

for ( i = 0 ; i < countryLength ; i++ )
  {
  tempCountry=countries[i].toLowerCase();
  
  tempCountry2= checkCountry(tempCountry);
  countryLinkLine = "<a href=../" + tempCountry + "/index" + tempCountry + ".asp target='_top'><font face='MS Sans Serif' size='1' color='#FFD4A8'><b>" + tempCountry2 + "</b></font><br>"
  document.write(countryLinkLine);
  }
 */ 
  /*   this function check the correlation between the country name & the country folder  */
  function checkCountry(countryInCheck)
		{
		alert("enter fuvc");
				if ( countryInCheck == "czech" )
				   {
				      countryInCheck= "Czech Republic";
				   }
				return (countryInCheck);
		 }