function loadNewsList(divID, id, pIndex){
	ajax_loadContent(divID, 'services/newslist.aspx?id='+id+'&pindex='+pIndex+'&type=2');
}
function loadHotNewsList(divID,pIndex){
	ajax_loadContent('divHotNews', 'services/newslist.aspx?id='+divID+'&type=1&pindex='+pIndex);
}
function loadGalleryList(divID, catID, pIndex, lstType){
	ajax_loadContent(divID, 'services/gallery.aspx?id='+catID+'&pindex='+pIndex+'&lsttype='+lstType);
}
function CheckDomain(divID, domainName){
	ajax_loadContent2(divID, 'services/whois.aspx?d='+domainName);
}
function WhoIs(divID, domainName){
	ajax_loadContent2(divID, 'services/whois.aspx?d='+domainName+'&cmd=getwhois');
}
function loadOtherInfo(divID, infoType, id){
	ajax_loadContent(divID, 'services/loadotherinfo.aspx?type='+infoType+'&id='+id);
}
function loadWeather(divID, cboWeather){    
    if (typeof(cboWeather.value) == 'undefined') loadOtherInfo(divID, '2', '9');
    else loadOtherInfo(divID, '2', cboWeather.value);
}
function ShowStockIndex(i){
    return;
	if(i == 0){						
		document.getElementById('lnkHOSE').style.color='firebrick';
		document.getElementById('tdHOSE').style.background='url(images/Bg-HOSE-01.gif)';
		document.getElementById('lnkHASTC').style.color='darkgray';
		document.getElementById('tdHASTC').style.background='url(images/Bg-HASTC-02.gif)';
		document.getElementById('ifrmContent').src = 'http://vnexpress.net/User/ck/hcms/HCMStockSmall.asp';
	}
	else{
		document.getElementById('lnkHASTC').style.color='firebrick';
		document.getElementById('tdHOSE').style.background='url(images/Bg-HOSE-02.gif)';
		document.getElementById('lnkHOSE').style.color='darkgray';
		document.getElementById('tdHASTC').style.background='url(images/Bg-HASTC-01.gif)';
		document.getElementById('ifrmContent').src = 'http://vnexpress.net/User/ck/hns/HNStockSmall.asp';
	}
}
