var ProgramRoot='/'+CountryCode+'/'+LangCode+'/V6HTML/'

var OnProduction=false	
var CounterServer='http://dev.counter.jobsdb.com'
if (CountryCode=='ID')
	CounterServer='http://dev.counter.jobsdb.co.id'
	
var string=location.host.toUpperCase()
if (string.lastIndexOf("WWW.JOBSDB")!=-1) {
	OnProduction=true
	CounterServer='http://counter.jobsdb.com'
	if (string.lastIndexOf("D3")!=-1) {
		CounterServer='http://th.counter.jobsdb.com'
	}
}
if (string.lastIndexOf("ID.JOBSDB")!=-1) {
	OnProduction=true
	CounterServer='http://id.counter.jobsdb.com'
}
if (string.lastIndexOf("TH.JOBSDB")!=-1) {
	OnProduction=true
	CounterServer='http://th.counter.jobsdb.com'
}


if (typeof(iWidth)=='number')
	var TableWidth = iWidth
else
	var TableWidth = 778


var now=new Date()
var thisyear = (now.getYear() < 1000) ? now.getYear() + 1900 : now.getYear()

var Footer='<table width=' + TableWidth + ' border=0 cellpadding=0 cellspacing=0><tr><td colspan=10><hr size=1 noshade></td></tr>'+
'<tr><td align=center colspan=10>' +
'<font face=arial size=1=>Job Opportunities in | <a href=/AU>Australia</a> | <a href=http://www.jobsdb.com.cn>China</a> | '+
'<a href=/Hong_Kong/>Hong Kong</a> | <a href=/IN>India</a> | <a href=/ID>Indonesia</a> | <a href=/KR>Korea</a> | <a href=/Malaysia/>Malaysia</a> | <a href=/PH>Philippines</a> | '+
'<a href=/Singapore/>Singapore</a> | <a href=/TW>Taiwan</a> | <a href=/TH>Thailand</a> | <a href=/US>USA</a>'+
'<br><a href=/>Home</a> | <a href=/'+CountryCode+'>Job Seeker</a> | '+
'<a href=/'+CountryCode+'/'+LangCode+'/V6HTML/CommonHTML/JobSeeker/MyJobsDB.htm?CC='+CountryCode+'&LC='+LangCode+'>MyJobsDB</a>'+
' | <a href=/'+CountryCode+'/'+LangCode+'/V6/JS/JobSearch/JobSearch.asp>Job Search</a>'

if (CountryCode=='HK'||CountryCode=='ID'||CountryCode=='MY'||CountryCode=='PH'||CountryCode=='SG'||CountryCode=='TH') {
	if (CountryCode=='HK') 
		Footer=Footer+' | <a href=/'+CountryCode+'/'+LangCode+'/V6HTML/JobSeeker/Resources/index.htm>Job Seeker Resources</a>'
	else 
		Footer=Footer+' | <a href=/'+CountryCode+'/'+LangCode+'/V6HTML/JobSeeker/Resources.htm?PN=Resources>Job Seeker Resources</a>'	
}

Footer=Footer+' | <a href=/'+CountryCode+'/'+LangCode+'/V6HTML/Home/default_emp.htm>Employer</a>'

if (CountryCode=='HK'||CountryCode=='ID'||CountryCode=='MY'||CountryCode=='PH'||CountryCode=='TH') {
	if (CountryCode=='HK')
		Footer=Footer+' | <a href=/'+CountryCode+'/'+LangCode+'/V6HTML/Employer/Resources/index.htm>Employer Resources</a></font>'
	else
		Footer=Footer+' | <a href=/'+CountryCode+'/'+LangCode+'/V6HTML/Employer/Resources.htm?PN=Resources>Employer Resources</a></font>'	
}
Footer = Footer + '</td></tr><tr><td colspan=10 height=5></td></tr><tr bgcolor=black>'
+'<td width=10><img src='+ProgramRoot+'CommonImages/transparent.gif width=10 height=20></td>'
+'<td class=footer><a onclick=window.open("/'+CountryCode+'/'+LangCode+'/navigation/content.asp?pagename=jobsdbcopyright","content","resizable=yes,toolbar=no,width=600,height=400,ScrollBars=yes") href=javascript:void(0) class=terms>COPYRIGHT &copy; 1998-'+thisyear+', Jobs DB Inc. ALL RIGHTS RESERVED.</a></td>'
+'<td align=right class=footer><a href=javascript:void(0) onclick=window.open("/'+CountryCode+'/'+LangCode+'/V6HTML/Terms/PrivacyStmt.htm","privacy","resizable=yes,toolbar=no,width=600,height=400,ScrollBars=yes") class=terms>PRIVACY STATEMENT</a></td>'
+'<td align=right class=footer><a href=javascript:void(0) onclick=window.open("/'+CountryCode+'/'+LangCode+'/V6HTML/Terms/Terms.htm","terms","resizable=yes,toolbar=no,width=600,height=400,ScrollBars=yes") class=terms>TERMS & CONDITIONS</a></td>'
+'<td width=10><img src='+ProgramRoot+'CommonImages/transparent.gif width=10 height=20></td>'
+'</tr></table>'
document.write (Footer)


	var SessinoMon_scriptElem = document.createElement("img");
	var CounterPath = CountryCode + "_JOBSDB";
	SessinoMon_scriptElem.setAttribute("src", "http://88dbsessions.jobsdb.com/sessionmonitor/"+CounterPath+"/");
	SessinoMon_scriptElem.setAttribute("type","jpg/image");

document.write('<script>');
document.write('var cimage = new Image();')
document.write('cimage.src = "'+CounterServer+'/'+CountryCode+'/Monitor/CountSession.asp"')
document.write('</'+'script>');
document.write('<noscript>');
document.write('<img height=1 width=1 src="'+CounterServer+'/'+CountryCode+'/Monitor/CountSession.asp">');
document.write('</noscript>');

// -------------------- Google Start --------------------
// TAG_JS_FOOTER
//if (typeof(pageTracker) == "undefined")
//{
//var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
//document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\n"));
//document.write(unescape("%3Cscript type=\"text/javascript\" %3E\n"));
//document.write('try{\n');
//document.write('var pageTracker = _gat._getTracker("UA-2012489-1");\n');
//document.write('pageTracker._initData();\n');
//document.write('pageTracker._trackPageview();\n');
//document.write('} catch(err) {}\n');
//document.write(unescape("%3C/script%3E\n"));
//}
// -------------------- Google End --------------------
//document.write('<iframe src="/'+CountryCode+'/PageCount.asp?URL='+escape(location.href)+'" height=100 width=600></iframe>')

