<!-- 
try{ 
//var sdomain_n=document.domain.replace(/^(www.|)+(.*)$/,"$2");
var sdomain_n=document.domain.replace(/^([^\.]+)\.+(.*)$/,"$2");
var domain_pf="http://www."+sdomain_n;
var img_domain="http://img."+sdomain_n;

var right_prom_list = new Array();
var date2 = new Date()
var StartDate=new Date();
var hour = date2.getHours() // hour
var seconds = date2.getSeconds() // seconds
var day = date2.getDate() // day 1 - 31 representing day of a month
var month  = date2.getMonth() + 1 // month 1 - 12 representing month of a year
var year  = date2.getFullYear()
var weekday = date2.getDay()
var CFName, img_file='';
var divRP_left='995';

CFName = document.URL;

if  ((CFName.indexOf('/racing/') > 0 && CFName.indexOf('/racing/adult_warn')) ||(CFName.indexOf('/hosting/') > 0 )) {

} else {

	right_prom_list[right_prom_list.length] = "/js/right_prom_header.js";

// special right promo blog luk
right_prom_list[right_prom_list.length] = img_domain+"/headline/special/blog_luk/blog_luk_204_200.js";

/*// Every Fri-Sun, should on the TOP, Satguide_204x120.GIF
if (year==2009 && (month==10 && day>=16 || month>=11)) {
  img_file = "satguide_20091016_204_120.gif";
} else 
if (year==2009 && (month==10 && day>=8 || month>=11)) {
  img_file = "satguide_20091008_204_120.gif";
} else 
if (year==2009 && (month==9 && day>=24 || month>=10)) {
  img_file = "satguide_20090924_204_120.gif";
} else 
if (year==2009 && (month==9 && day>=17 || month>=10)) {
  img_file = "satguide_20090917_204_120.gif";
} else 
if (year==2009 && (month==9 && day>=11 || month>=10)) {
  img_file = "satguide_20090911_204_120.gif";
} else 
if (year==2009 && (month==9 && day>=4 || month>=10)) {
  img_file = "satguide_20090904_204_120.gif";
} else 
if (year==2009 && (month==8 && day>=28 || month>=9)) {
  img_file = "satguide_20090828_204_120.gif";
} else 
if (year==2009 && (month==8 && day>=20 || month>=9)) {
  img_file = "satguide_20090820_204_120.gif";
} else 
if (year==2009 && (month==8 && day>=13 || month>=9)) {
  img_file = "satguide_20090813_204_120.gif";
} else 
if (year==2009 && (month==8 && day>=6 || month>=9)) {
  img_file = "satguide_20090806_204_120.gif";
}*/
// Every Fri-Sun, Satguide_204x120.GIF
if ((weekday==5 || weekday==6 || weekday==0 && img_file!='')){
  //right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/sat_guide/&icon=hl/" + img_file;
  right_prom_list[right_prom_list.length] = img_domain+"/headline/js/sg_right_ads_v1.js";
}



// OpenShop_v2_204_120.gif
if (year==2009 && ( (month==5 && (day>=12)) || month>=6 ) || year==2010 ) {
	banner_icon='OpenShop_v3_1_204_120.gif'; 
	StartDate.setFullYear(2009,6-1,2);
	switch (Math.floor(Math.abs(((date2-StartDate)/86400000)%9/3))) {   // change every 3 days
		case 1: banner_icon='OpenShop_v3_2_204_120.gif'; break;
		case 2: banner_icon='OpenShop_v3_3_204_120.gif'; break;
	}
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/shop/intro.asp&icon=hl/"+banner_icon+"";
}


// JackJohnson_204_120.jpg
if (year==2009 && ( (month==11 && day>=18 && day<25)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/ent/promo/jackjohnson/index.asp&icon=hl/JackJohnson_204_120.jpg";
}


// crocopen_204_120.gif
if (year==2009 && ( (month==11 && day>=18 && day<25)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/crocopen/index.asp&icon=hl/crocopen_204_120.gif";
}


// australiasayno_204_120.gif
if (year==2009 && ( (month==11 && day>=18 && day<25)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/news/prom/australiasayno/index.asp&icon=hl/australiasayno_204_120.gif";
}


// Ad_NWFF2_204_120.jpg
if (year==2009 && ( (month==11 && day>=11 && day<18)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/firstferrymodel/index.asp&icon=hl/Ad_NWFF2_204_120.jpg";
}


// qibloodsoup_204_120.gif
if (year==2009 && ( (month==11 && day>=11 && day<18)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/dining/prom/qibloodsoup/index.asp&icon=hl/qibloodsoup_204_120.gif";
}


// nivea2_204_120.GIF
if (year==2009 && ( month==10 && day>=28 || month==11 && day<11 ) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/beauty/prom/nivea3/&icon=nivea2_204_120.gif";
}

// GCP_204_120.gif
if (year==2009 && ( month==10 && day>=28 || month==11 && day<4 ) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/grandcenturyplace/&icon=GCP_204_120.gif";
}

// mariaenglish_204_120.gif
if (year==2009 && ( month==10 && day>=28 || month==11 && day<4 ) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/mariaenglish/&icon=mariaenglish_204_120.gif";
}

// Carpenters_204_120.JPG
if (year==2009 && ( (month==11 && day>=4 && day<11)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/ent/promo/carpenters/&icon=Carpenters_204_120.JPG";
}

// tigerfortune_204_120.gif
if (year==2009 && ( (month==11 && day>=4 && day<11)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/fortune/prom/tigerfortune/&icon=stbook/tigerfortune_204_120.gif";
}

// purplediary_204_120.gif
if (year==2009 && ( (month==10) && (day>=21 &&day<28)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/arts/prom/purplediary/index.asp&icon=hl/purplediary_204_120.gif";
}



// yogayoga_20091014_204_120.gif
if (year==2009 && ( (month==10 && day>=14 ) || (month==11  && day<11)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/yogayoga2/index.asp&icon=hl/yogayoga_20091014_204_120.gif";
}


// nivea2_20091014_204_120.gif
if (year==2009 && ( (month==10) && (day>=14 &&day<21)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/beauty/prom/nivea2/index.asp&icon=hl/nivea2_20091014_204_120.gif";
}



// lifeafterdeath_204_120.gif
if (year==2009 && ( (month==10) && (day>=14 &&day<21)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/fortune/prom/lifeafterdeath/index.asp&icon=hl/lifeafterdeath_204_120.gif";
}



// starcompositon_204_120.gif
if (year==2009 && ( (month==10) && (day>=7 &&day<14)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/starcompositon/index.asp&icon=hl/starcompositon_204_120.gif";
}


// hkct_204_120.gif
if (year==2009 && ( (month==10) && (day>=7 &&day<14)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_24/index.asp&icon=hl/hkct_204_120.gif";
}


// blrenu_204_120.gif
if (year==2009 && ( (month==10) && (day>=7 &&day<14)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/bauschlomb/index.asp&icon=hl/blrenu_204_120.gif";
}


// lkk_204_120.gif
if (year==2009 && ( (month==9 && day>=23 || month==10 && day<21)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/dining/prom/leekumkee/&icon=lkk_204_120.gif";
}

// summerDiary_204_120.gif
// summerDiary_20090730_204_120.gif
if (year==2009 && ( month==7 && day>=15 || month==8 ) ) {
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/blog/summer_diary.asp&icon=hl/summerDiary_20090818_204_120.gif";
}

// summer_shop_204_120.gif
if (year==2009 && ( month==7 && day>=10 || month==8 ) ) {
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/shop/prom/sum09/&icon=hl/summer_shop_204_120.gif";
}

/*// stockGame_204_120.gif
if (year==2009 && ( (month==5 && (day>=19)) || month>=6 ) || year==2010 ) {
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/finance/stockgame_index.asp&icon=hl/stockGame_204_120.gif";
}*/

// Mika_204_120.GIF
if (year==2009 && ( (month==9 && day>=16 && day<23)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/ent/promo/mika/&icon=Mika_204_120.gif";
}

// Carey_204_120.GIF
if (year==2009 && ( (month==9 && day>=30 || month==10 && day<7)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/ent/promo/mariahcarey/&icon=Carey_204_120.gif";
}

// jetppl_204_120.gif
if (year==2009 && ( (month==9 && day>=30 || month==10 && day<7)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/arts/prom/jetppl/&icon=jetppl_204_120.gif";
}

// hkct23_204_120.gif
if (year==2009 && ( (month==9 && day>=30 || month==10 && day<7)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_23/&icon=hkct23_204_120.gif";
}

// openrice_204_120.GIF
if (year==2009 && ( (month==9 && day>=30 || month==10 && day<7)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/dining/prom/openrice/index.asp&icon=hl/openrice_204_120.gif";
}

// impre_seminar_204_120.gif
if (year==2009 && ( (month==9 && day>=30 || month==10 && day<7)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/impregnation_seminar/&icon=impre_seminar_204_120.gif";
}

// hkct22_204_120.gif
if (year==2009 && ( (month==9 && day>=23 && day<30)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_22/&icon=hkct22_204_120.gif";
}

// hkct19_204_120.gif
if (year==2009 && ( (month==9 && day>=2 && day<9)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_19/&icon=hkct19_204_120.gif";
}

// hkct20_204_120.gif
if (year==2009 && ( (month==9 && day>=9 && day<16)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_20/&icon=hkct20_204_120.gif";
}

// st_mobile_204_120.gif
if (year==2009 && ( (month==8 && day>=22 || month>=9)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/js/st_mobile_204_120.js";
}

// teaPlus_204_120.gif
if (year==2009 && ( (month==8 && day>=19 || month==9 && day<30)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/dining/prom/tea_plus/&icon=teaPlus_204_120.gif";
}

// justyoga_204_120.gif
if (year==2009 && ( (month==9 && day>=23 && day<30)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/justyoga/&icon=stbook/justyoga_204_120.gif";
}

// hkct21_204_120.gif
if (year==2009 && ( (month==9 && day>=16 && day<23)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_21/&icon=hkct21_204_120.gif";
}

// fourways_204_120.gif
if (year==2009 && ( (month==9 && day>=16 && day<23)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/fourways/&icon=stbook/fourways_204_120.gif";
}

// newstome_204_120.gif
if (year==2009 && ( (month==9 && day>=9 && day<16)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/newstome/&icon=stbook/newstome_204_120.gif";
}

// purplefinance_204_120.gif
if (year==2009 && ( (month==9 && day>=2 && day<9)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/purplefinance/&icon=stbook/purplefinance_204_120.gif";
}

// crabtree_204_120.gif
if (year==2009 && ( (month==8 && day>=26 || month==9 && day<2)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/crabtreeandevelyn/&icon=crabtree_204_120.gif";
}

// nivea_204_120.gif
if (year==2009 && ( (month==8 && day>=12 && day<19)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/beauty/prom/nivea/&icon=nivea_204_120.gif";
}


// medicalscience_20090826_204_120.gif
if (year==2009 && ( (month==8 && day>=26 || month==9 && day<2)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/medicalscience/index.asp&icon=hl/medicalscience_20090826_204_120.gif";
}

// hkct06_204_120.gif
if (year==2009 && ( (month==8 && day>=26 || month==9 && day<2)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_18/&icon=hkct06_204_120.gif";
}

// helloKitty_204_120.gif
if (year==2009 && ( (month==8 && day>=13 && day<20)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/dai_seng_kitty/&icon=helloKitty_204_120.gif";
}

// hkct17_204_120.gif
if (year==2009 && ( (month==8 && day>=19 && day<26)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_17/&icon=hkct17_204_120.gif";
}

// impregnation_204_120.gif
if (year==2009 && ( (month==8 && day>=19 && day<26)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/impregnation/&icon=stbook/impregnation_204_120.gif";
}

// hkct16_204_120.gif
if (year==2009 && ( (month==8 && day>=12 && day<19)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/hkct_16/&icon=hkct16_204_120.gif";
}

// sinkwoklim_204_120.gif
if (year==2009 && ( (month==8 && day>=12 && day<19)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/sinkwoklim/&icon=stbook/sinkwoklim_204_120.gif";
}

// megabox_204_120.gif
if (year==2009 && ( (month==7 && day>=5 && day<12)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/shopping/prom/megabox/&icon=megabox_204_120.gif";
}

// psychology_204_120.gif
if (year==2009 && ( (month==7 && day>=5 && day<12)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/psychology/&icon=psychology_204_120.gif";
}

// saintsalp_204_120.gif
if (year==2009 && ( (month==7 && day>=3 && day<30)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/saintsalp/&icon=saintsalp_204_120.gif";
}

// parentshand2_2_204_120.gif
if (year==2009 && ( (month==7 && day>=29 || month==8 && day<5)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/parentshand2_2/&icon=stbook/parentshand2_2_204_120.gif";
}

// kaspersky_204_120.gif
if (year==2009 && ( (month==7 && day>=22 && day<29)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/digital/promo/kaspersky/&icon=kaspersky_204_120.gif";
}

// cally_204_120.gif
if (year==2009 && ( (month==7 && day>=22 && day<29)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/cally/&icon=stbook/cally_204_120.gif";
}

// newseng4_204_120.gif
if (year==2009 && ( (month==7 && day>=15 && day<22)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/newseng4/&icon=stbook/newseng4_204_120.gif";
}

// sunnyWong_204_120.gif
if (year==2009 && ( (month==7 && day>=8 && day<15)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/living/prom/sunnywong/&icon=sunnyWong_204_120.gif";
}

// citygate_204_120.gif
if (year==2009 && ( (month==7 && day>=8 && day<15)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/ent/promo/shopnstay/&icon=citygate_204_120.gif";
}

// shanghai2_204_120.gif
if (year==2009 && ( (month==7 && day>=8 && day<15)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/travel/promo/shanghai_booklet2/&icon=stbook/shanghai2_204_120.gif";
}

// biblecode_sr_204_120.gif
if (year==2009 && ( (month==7 && day>=1 && day<8)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/blog/reply_blog_express.asp?f=BTXARLI35N133172%26id=189786&icon=biblecode_sr_204_120.gif";
}

// cityplan_204_120.gif
if (year==2009 && ( (month==7 && day>=1 && day<8)) ){
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/home/prom/cityplan/&icon=stbook/cityplan_204_120.gif";
}

// singing_204_120.gif
if (year==2009 && (month==7 && day>=3 && day<17) ) {
	right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/special/singing/&icon=singing_204_120.gif";
}

// Every Mon-Thu, Satguide_204x120.GIF
if (!(weekday==5 || weekday==6 || weekday==0 && img_file!='')){
  //right_prom_list[right_prom_list.length] = img_domain+"/promo/imagead_js.asp?s=hl&lp=/sat_guide/&icon=hl/" + img_file;
  right_prom_list[right_prom_list.length] = img_domain+"/headline/js/sg_right_ads_v1.js";
}

right_prom_list[right_prom_list.length] = img_domain+"/promo/js/hl_gameResult.js";
right_prom_list[right_prom_list.length] = img_domain+"/promo/js/hl_ipo120.js";
right_prom_list[right_prom_list.length] = img_domain+"/headline/js/news_special_sideicon_tmp.js";

	
	//right_prom_list[right_prom_list.length] = "/adfolder/loty204.js";
	//right_prom_list[right_prom_list.length] = "/adfolder/jobmarket.js";

// google ad
right_prom_list[right_prom_list.length] = img_domain+"/promo/js/headline_right_200_90_google_iframe.js";
	
}// skip all for racing section
}catch(e){}

if  ((CFName.indexOf('/racing/') > 0 && CFName.indexOf('/racing/adult_warn')) ||(CFName.indexOf('/hosting/') > 0 )) {
}else{
  right_prom_list[right_prom_list.length] = "/js/right_prom_footer.js";
}
right_prom_list[right_prom_list.length] = "/top_menu.js";
right_prom_list[right_prom_list.length] = "/banner/js/frontpage_top_728_banner.js";
right_prom_list[right_prom_list.length] = "/banner/js/banner_top_space.js";

str = "";
for (i = 0; i < right_prom_list.length; i++) {
	str += "<script language=\"JavaScript\" src=\"" + right_prom_list[i] + "\"  type=\"text/javascript\"></script>";
}
document.write(str);
//-->