<!--
function setBanner(val){
var sh = document.getElementById('singles-holiday');
var name, w, h;
if(val >= 1 && val <= 6){
name = 'mhp-banner'+val+'wb.gif';
w = 468;
h = 60;
}else{
name = 'mhp-vbanner'+(val-6)+'wb.gif';
w=120;
h=240;
}
sh.bannername.value = name;
sh.bannerwidth.value = w;
sh.bannerheight.value = h;
}
function doMenu(lang, option){
var sh = document.getElementById('singles-holiday');
sh.emails.value = '';
sh.forgotten.value = '';
var b = 'http://www.myholidaypartner.com/';
if(lang != 'english'){
b += lang+'/';
}
b += 'best_reputable_affiliate_programs/';
switch (option){
case 1:
sh.action = b+'affiliate-management.php';
break;
case 2:
sh.action = b+'affiliate-details.php';
break;
case 3:
sh.action = b+'affiliate-link-code.php';
break;
case 4:
sh.action = b+'affiliate-management.php';
sh.emails.value = 1;
break;
case 5:
sh.action = b+'affiliate-management.php';
sh.logout.value = 1;
break;
case 6:
sh.action = b+'affiliate-management.php';
sh.forgotten.value = 1;
break;
}
sh.submit();
return false;
}
// -->

