/* Seagull JavaScript Document */ ranimgs = [ ["src/sub_cafe.gif","http://www.seagullmaldives.com/cafe/"] ,["src/sub_foods.gif","http://www.seagullmaldives.com/foods/"] ,["src/sub_maafahi.gif","http://www.seagullmaldives.com/maafahi/"] ,["src/sub_marine.gif","http://www.seagullmaldives.com/marine/"] ,["src/sub_seasports.gif","http://www.seagullmaldives.com/seasports/"] ]; ranimgs_proc=new Array(); ranimgs_timr=null; ranimgs_interval=6;//in seconds function img_randmzr(){ if(ranimgs_proc.length>0){ ranmath=Math.floor(Math.random()*(parseInt(ranimgs_proc.length)-0.1)); thisarr=ranimgs_proc[ranmath]; newrana=new Array(); for(ri=0;ri'; ph_gt_lg=true; clearTimeout(ph_gt_tm);ph_gt_tm=null; };function remgt(){ clearTimeout(ph_gt_tm);ph_gt_tm=setTimeout("ainthgt()",2000); };function ainthgt(){ vopac("sysLgImg153",100,0,400); clearTimeout(ph_gt_tm);ph_gt_tm=null; } function img_randmzr_put(ph_url,bph_url) { ph_blst=new Image(); ph_blst.src=ph_url; if(ph_blst.complete){ gT("ranimgtd").innerHTML=''; vopac("bhPhImgRan",0,100,500); clearTimeout(ranimgs_timr); ranimgs_timr=setTimeout("img_randmzr()",(ranimgs_interval*1000)); }else{ ph_blst.onload=function(){ gT("ranimgtd").innerHTML=''; vopac("bhPhImgRan",0,100,500); clearTimeout(ranimgs_timr); ranimgs_timr=setTimeout("img_randmzr()",(ranimgs_interval*1000)); } } } function mh(mi){ mi.style.color="#c36526"; }function mo(mi){ mi.style.color="#3a556f"; } bigpptmr=null; bigppstatus=false; function ihvr(mi){ vopac(mi.id,0,100,125); }function iout(mi){ vopac(mi.id,100,0,75); } vpre='
 Retrieving data...
';// ajax loader html v_cachebrst=1;v_cachebust=""; vtranslock=false; function vburst(v_url,v_dest){ // disablers here vtranslock=true; v_cnnt=false;v_dst=v_dest;if(window.XMLHttpRequest){v_cnnt=new XMLHttpRequest();} else if(window.ActiveXObject){try{v_cnnt=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{v_cnnt=new ActiveXObject("Microsoft.XMLHTTP");} catch(e){}}}else{return false;};gT(v_dst).innerHTML=vpre;v_cnnt.onreadystatechange=function(){vspread(v_cnnt,v_dst);};if(v_cachebrst){ v_cachebust=(v_url.indexOf("?")!=-1)?"&"+new Date().getTime():"?"+new Date().getTime();};v_cnnt.open('GET',v_url+v_cachebust,true);v_cnnt.send(null);} function vspread(v_cnnt,v_dest){if(v_cnnt.readyState==4&&(v_cnnt.status==200||window.location.href.indexOf("http")==-1)){ //changevOpac(0,v_dest); gT(v_dest).innerHTML=v_cnnt.responseText; //vopac(v_dest,0,100,200); // enablers here... stageStat=true; vtranslock=false; }} function vopac(id,opacStart,opacEnd,millisec){var speed=Math.round(millisec/100);var timer=0;if(opacStart>opacEnd){ for(i=opacStart;i>=opacEnd;i--){setTimeout("changevOpac("+i+",'"+id+"')",(timer*speed));timer++;}} else if(opacStart