function checkCount(){
var page = "SysNotify_EIC.jsp";
var windowprops1 = "width=400,height=270,top=15, left=15, toolbar=no,menubar=no,scrollbars=no,resizable=no";
var windowprops2 = "width=400,height=270,top=250, left=300, toolbar=no,menubar=no,scrollbars=no,resizable=no";
//setting up the date - Betty park

	var year = 2006;
	var month = 9;
	var day = 13;
	var hour = 13;

	if((year <2005) && (month <12)&&(day == 12)){
		window.open(page, "", windowprops1);
	}else if((year <2005) && (month <12) &&(day == 13)&& (hour <10)){
		window.open(page, "", windowprops2);
	}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
   if(selObj.selectedIndex == 1 || selObj.selectedIndex == 0 ) return;
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");         
  if (restore) selObj.selectedIndex=0;
} 

function MakeArray(cnt) {
  this.length = cnt;
  for (var i = 0; i < cnt; i++)
    this[i] = new Option();
  return this;
}

function information_change(obj) {
  var array;
  var cnt;
  var form = document.information;

  for (var i = form.information_select.length - 1; i >= 0; i--)
     form.information_select.options[i] = null;

  if (obj == '1') {
    cnt = 19;
    array = new MakeArray(cnt);
    array[0].value = ""; array[0].text = "= Klanten";
    array[1].value = ""; array[1].text = "Products Information";
    array[2].value = "111"; array[2].text = "- TV";
    array[3].value = "112"; array[3].text = "- Audio";
    array[4].value = "113"; array[4].text = "- Video/DVD";
    array[5].value = "114"; array[5].text = "- Computer Product";
    array[6].value = "115"; array[6].text = "- Home Appliances";
    array[7].value = "116"; array[7].text = "- Mobile";

    array[8].value = ""; array[8].text = "--------------------------";
    array[9].value = "120"; array[9].text = "LG Service";
	array[10].value = "121"; array[10].text = "Contact";
    array[11].value = "122"; array[11].text = "FAQ";
	
    array[12].value = ""; array[12].text = "--------------------------";
    array[13].value = "131"; array[13].text = "Advertenties";
    array[14].value = "132"; array[14].text = "Sponsorship";
    array[15].value = "133"; array[15].text = "Social Commitment";
	
    array[16].value = ""; array[16].text = "--------------------------";
    array[17].value = "141"; array[17].text = "Bedrijfsprofiel";
    array[18].value = "143"; array[19].text = "Press Releases";
  }
  else if (obj == '2') {
    cnt = 4;
    array = new MakeArray(cnt);
    array[0].value = ""; array[0].text = "= Investeerders & Analisten";
    array[1].value = "21"; array[1].text = "PR Film";
    array[2].value = "22"; array[2].text = "Press Releases";
    array[3].value = "23"; array[3].text = "Archief";
  }
  else if (obj == '3') {
    cnt = 5;
    array = new MakeArray(cnt);
    array[0].value = ""; array[0].text = "= Journalisten";
    array[1].value = "301"; array[1].text = "Press Releases";
    array[2].value = "302"; array[2].text = "Archief";
    array[3].value = "303"; array[3].text = "Bedrijfsprofiel";
    array[4].value = "304"; array[4].text = "PR Film";
  }
  else if (obj == '4') {
    cnt = 3;
    array = new MakeArray(cnt);
    array[0].value = ""; array[0].text = "= Werkzoekenden";
    array[1].value = "41"; array[1].text = "Vacature";
    array[2].value = "42"; array[2].text = "Bedrijfsprofiel";
  }

  for(i = 0; i < cnt; i++)
    form.information_select.options[i] = array[i];

  form.information_select.options[0].selected = true;
}

function GoHrefpass(form){
var tt = form.value ;
		if (tt == "")
			return;
		
   
   //product
		if (tt == "111") location.href = "/proddivergent.do?actType=search&categoryId=01&modelCategoryId=&parentId=";// TV
		if (tt == "112") location.href = "/proddivergent.do?actType=search&categoryId=02&modelCategoryId=&parentId=";// Audio
		if (tt == "113") location.href = "/proddivergent.do?actType=search&categoryId=03&modelCategoryId=&parentId=";// Video
		if (tt == "114") location.href = "/proddivergent.do?actType=search&categoryId=05&modelCategoryId=&parentId=";// Computer Product
		if (tt == "115") location.href = "/proddivergent.do?actType=search&categoryId=06&modelCategoryId=&parentId=";// Home Appliance
		if (tt == "116") location.href = "/proddivergent.do?actType=search&categoryId=07&modelCategoryId=&parentId=";// Mobile & Telephone

		if (tt == "120") location.href = "/support/support_lgeservice.jsp";// LG Service
		if (tt == "121") location.href = "/support/contact.jsp";// Contact
		if (tt == "122") location.href = "/support/faq.do?action=faqList&group_code=AB&list_code=ABOUT_MENU&target=supportfaqlist";// FAQ

		
		if (tt == "131") location.href = "/experience/advertising/ad_print_2003.jsp";// Advertising
		if (tt == "132") location.href = "/experience/sports_marketing/LGEgolf.jsp";// Sports Marketing
		if (tt == "133") location.href = "/experience/social_commitment/shaker.jsp";// Social Commitment
		
		if (tt == "141") location.href = "/about/corporate/html/company_overview.jsp";// Company Profile
		if (tt == "143") location.href = "/ir/html/ABboards.do?action=init&group_code=AB&list_code=PRE_MENU&page=1&target=pressreleases_list.jsp";// Press Release
		
		
		
		if (tt == "21") location.href = "/experience/prfilm/prfilm.jsp";// PR Film
		if (tt == "22") location.href = "/ir/html/ABboards.do?action=init&group_code=AB&list_code=PRE_MENU&page=1&target=pressreleases_list.jsp";// Press Release
		if (tt == "23") location.href = "/ir/html/ABboards.do?action=init&group_code=AB&list_code=NARCH_MENU&page=1&target=news_list.jsp";// News Archive

		
		if (tt == "301") location.href = "/ir/html/ABboards.do?action=init&group_code=AB&list_code=PRE_MENU&page=1&target=pressreleases_list.jsp";// Press Release
		if (tt == "302") location.href = "/ir/html/ABboards.do?action=init&group_code=AB&list_code=NARCH_MENU&page=1&target=news_list.jsp";// News Archive
		if (tt == "303") location.href = "/about/corporate/html/company_overview.jsp";// Company Profile
		if (tt == "304") location.href = "/experience/prfilm/prfilm.jsp";// PR Film
	
		
		
		if (tt == "41") location.href = "/about/career/jobOpening.jsp";// Job Opening
		if (tt == "42") location.href = "/about/corporate/html/company_overview.jsp";// Company Profile

}
function openLogWindow(){
	var win1 = window.open("/log/record_log.jsp?pageId=01", "", "width=1, height=1, resizable=no, top=2000, left=2000");	
	 var win2 = window.open("/experience/showcase/showcase.jsp?pageC=1", "", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=750,height=520");
}