 function checkCountry() 
 {  
	var temp_location = self.location.toString();
	//if ((temp_location.indexOf('LANGID=1') > 0) && (document.fmMain.ucCoreInfo1_ddlCountry.value == "CHN"))
	//	alert("We have chinese form.");		
 }

function formCheck() {
	var temp_location = self.location.toString();
	// BEGIN: special case checking ICT NOB
	if (temp_location.indexOf('0d24d27f-0b41-4bc2-a875-82a71d2de6cb') > 0) {
		var count = 0;
		for (var i=23; i <= 50; i++)
		{
			if (document.fmMain.elements[i].checked)
			{
				++count;
			}
			
		}	
		if (count <= 0)
		{
			alert("Please select nature of business");
    		return false;
		}
	}	
	// END: special case checking ICT NOB
	
//********************************	
// BEGIN: check for Exhibition Dept	
//********************************
var pub1 = 0;
var pub2 = 0;
	// Electronics Spring 2009
	if (temp_location.indexOf('247d99c9-6a28-442c-b449-3df37cfb127f') > 0) {
		pub1 = 95;	 pub2 = 108;
	}
	
	if (pub1 > 0 && pub2 > 0) {	
		var count2 = 0;
		for (var i=pub1; i <= pub2; i++)
			if (document.fmMain.elements[i].checked)			
				++count2;				
		
		if (count2 > 3)
		{
			alert("You are able to select maximum of 3 TDC trade publications.");
    		return false;
		}
	}	
//********************************	
// END: check for Exhibition Dept	
//********************************
	//ADD by Mabel, call form custom javascript
	return _extended_check();
}
