var CitArray=new Array('JAIPUR','JODHPUR','BIKANER','JAISALMER','UDAIPUR','PUSHKAR','FORTS/PALACES','TEMPLES','WILDLIFE','DESERT SAFARI','HERITAGE HOTELS','FESTIVALS','06 DAYS','08 DAYS','09 DAYS','10 DAYS','11 DAYS','15 DAYS');function openNewWin()
{window.open('distance.html','Rajasthan_Cities_Distance_Charts','width=600,height=350,scrollbars=yes');}
function st2(t){var toggle=document.getElementById('toggle');var as=toggle.getElementsByTagName('a');for(j=1;j<=as.length;j++){ts=document.getElementById('tt'+j);tr=document.getElementById('dd'+j);ta=document.getElementById('aa'+j);if(t==j){ts.className="tab1";ta.className="srchlink2";ts.style.bordertop="1px solid #FFBD92";ts.style.borderBottom="1px solid #FFFFFF";tr.style["display"]="block";tr.style["visibility"]="visible";}
else{ts.className="tab2";ta.className="srchlink1";ts.style.borderBottom="1px solid #FFBD92";tr.style["display"]="none";tr.style["visibility"]="hidden";}}}
var currentGalleryLink=new Array();function LoadPicture(pictureName,imageFile,captionID,captionText,content)
{if(document.all)
{document.getElementById(pictureName).style.filter="blendTrans(duration=1)";document.getElementById(pictureName).filters.blendTrans.Apply();}
document.getElementById(pictureName).src=imageFile;if(document.all)
{document.getElementById(pictureName).filters.blendTrans.Play();}
document.getElementById(captionID).innerHTML=captionText;for(i=0;i<document.links.length;i++)
{var l=document.links[i];var n=l.getAttributeNode('onclick');if(n)
{var onclick=n.value;if((onclick)&&(onclick.indexOf(pictureName)>0)&&(onclick.indexOf(imageFile)>0))
{currentGalleryLink[pictureName]=i;break;}}}}
function LoadPrev(pictureName)
{city_Cnt=city_Cnt--==0?5:city_Cnt;LoadCity(city_Cnt);}
function LoadNext(pictureName)
{city_Cnt=city_Cnt++==5?0:city_Cnt;LoadCity(city_Cnt);}
function LoadPrev1(pictureName)
{if(city_Cnt<6)city_Cnt=city_Cnt+6;city_Cnt=city_Cnt--==6?11:city_Cnt;LoadCity(city_Cnt);}
function LoadNext1(pictureName)
{if(city_Cnt<6)city_Cnt=city_Cnt+6;city_Cnt=city_Cnt++==11?6:city_Cnt;LoadCity(city_Cnt);}
function LoadPrev2(pictureName)
{if(city_Cnt<12)city_Cnt=city_Cnt+12;city_Cnt=city_Cnt--==12?17:city_Cnt;LoadCity(city_Cnt);}
function LoadNext2(pictureName)
{if(city_Cnt<12)city_Cnt=city_Cnt+12;city_Cnt=city_Cnt++==17?12:city_Cnt;LoadCity(city_Cnt);}
function LoadGallery(pictureName1,imageFile1,pictureName2,imageFile2)
{document.getElementById(pictureName1).src=imageFile1;document.getElementById(pictureName2).src=imageFile2;}
var is_input=document.URL.indexOf('?');var tour_value='';var city_Cnt=0;if(is_input!=-1)
{addr_str=document.URL.substring(is_input+1,document.URL.length);strarr=addr_str.split("&");var param_name=unescape((strarr[0].split("="))[0]);if(param_name=="tour")
{tour_value=unescape((strarr[0].split("="))[1]);tour_value=tour_value.replace(/\+/g," ");}
for(var i=0;i<CitArray.length;i++){if(CitArray[i]==tour_value.toUpperCase()){city_Cnt=i;}}}
function LoadCity(CName){city_Cnt=CName;if(CName==0)
{st2('1');LoadPicture('EmilyGallery','gifs/hawamahaljaipur.jpg','EmilyGalleryCaption','Hawa Mahal - Jaipur (Pink City)');LoadGallery('EmilyGallery1','gifs/jaipur-dances.jpg','EmilyGallery2','gifs/samode-palace.jpg')}
else if(CName==1)
{st2('2');LoadPicture('EmilyGallery','gifs/rajasthani-boy.jpg','EmilyGalleryCaption','Little Boy with Camel - Jodhpur (Blue City)');LoadGallery('EmilyGallery1','gifs/jaswant-thana.jpg','EmilyGallery2','gifs/mehrangarh-fort.jpg');}
else if(CName==2)
{st2('3');LoadPicture('EmilyGallery','gifs/deshnok-temple.jpg','EmilyGalleryCaption','Karni Mata Temple in Deshnok - Bikaner');LoadGallery('EmilyGallery1','gifs/karni-mata-temple.jpg','EmilyGallery2','gifs/camel-bikaner.jpg');}
else if(CName==3)
{st2('4');LoadPicture('EmilyGallery','gifs/camel-safari-rajasthan.jpg','EmilyGalleryCaption','Camel Safari in Thar Desert - Jaisalmer');LoadGallery('EmilyGallery1','gifs/jaisalmerfort.jpg','EmilyGallery2','gifs/camels-jaisalmer.jpg');}
else if(CName==4)
{st2('5');LoadPicture('EmilyGallery','gifs/city-palace-udaipur.jpg','EmilyGalleryCaption','City Palace - Udaipur');LoadGallery('EmilyGallery1','gifs/kucchi-ghodi-dance.jpg','EmilyGallery2','gifs/lake-palaceudaipur.jpg');}
else if(CName==5)
{st2('6');LoadPicture('EmilyGallery','gifs/pushkar-cattle-fair.jpg','EmilyGalleryCaption','Camel Fair - Pushkar');LoadGallery('EmilyGallery1','gifs/pushkar-fair.jpg','EmilyGallery2','gifs/pushkar-lake.jpg');}
else if(CName==6)
{st2('1');LoadPicture('EmilyGallery','gifs/lake-palace-udaipur.jpg','EmilyGalleryCaption','Lake Palace - Udaipur');LoadGallery('EmilyGallery1','gifs/fort-jaisalmer.jpg','EmilyGallery2','gifs/udai-vilas.jpg');}
else if(CName==7)
{st2('2');LoadPicture('EmilyGallery','gifs/jain-temple.jpg','EmilyGalleryCaption','Adeshwar Nath Jain Temple - Jaisalmer');LoadGallery('EmilyGallery1','gifs/osiyan-temple.jpg','EmilyGallery2','gifs/jaintemple.jpg');}
else if(CName==8)
{st2('3');LoadPicture('EmilyGallery','gifs/tiger.jpg','EmilyGalleryCaption','Indian Tiger - Ranthambore National Park');LoadGallery('EmilyGallery1','gifs/bird-bharatpur.jpg','EmilyGallery2','gifs/deer-ranthambore.jpg');}
else if(CName==9)
{st2('4');LoadPicture('EmilyGallery','gifs/camelsafari-rajasthan.jpg','EmilyGalleryCaption','Desert Safari - Jaisalmer');LoadGallery('EmilyGallery1','gifs/camel-safaris.jpg','EmilyGallery2','gifs/desertsafari.jpg')}
else if(CName==10)
{st2('5');LoadPicture('EmilyGallery','gifs/heritage-hotel-rajasthan.jpg','EmilyGalleryCaption','Hotel Bhandawa Niwas - Jodhpur');LoadGallery('EmilyGallery1','gifs/rohet-garh-hotel.jpg','EmilyGallery2','gifs/guest-room.jpg');}
else if(CName==11)
{st2('6');LoadPicture('EmilyGallery','gifs/rajasthani-man.jpg','EmilyGalleryCaption','Rajasthani Man');LoadGallery('EmilyGallery1','gifs/camel-race.jpg','EmilyGallery2','gifs/decorated-women.jpg');}
else if(CName==12)
{st2('1');LoadPicture('EmilyGallery','gifs/tajmahal-agra.jpg','EmilyGalleryCaption','Taj Mahal - Agra');LoadGallery('EmilyGallery1','gifs/sufdargung-tomb.jpg','EmilyGallery2','gifs/red-fort-delhi.jpg');}
else if(CName==13)
{st2('2');LoadPicture('EmilyGallery','gifs/jaipur-celebration.jpg','EmilyGalleryCaption','Elephant Holi Festival - Jaipur');LoadGallery('EmilyGallery1','gifs/udaipur-fort.jpg','EmilyGallery2','gifs/humayu-tomb.jpg');}
else if(CName==14)
{st2('3');LoadPicture('EmilyGallery','gifs/indiantiger.jpg','EmilyGalleryCaption','Tiger in Sariska National Park');LoadGallery('EmilyGallery1','gifs/deers.jpg','EmilyGallery2','gifs/bharatpur-bird.jpg');}
else if(CName==15)
{st2('4');LoadPicture('EmilyGallery','gifs/desert-safari.jpg','EmilyGalleryCaption','Desert Safari - Jaisalmer');LoadGallery('EmilyGallery1','gifs/qutab-minar.jpg','EmilyGallery2','gifs/dances-rajasthan.jpg');}
else if(CName==16)
{st2('5');LoadPicture('EmilyGallery','gifs/puppets.jpg','EmilyGalleryCaption','Puppets - Mandawa');LoadGallery('EmilyGallery1','gifs/rajasthani-painting.jpg','EmilyGallery2','gifs/village-rajasthan.jpg');}
else if(CName==17)
{st2('6');LoadPicture('EmilyGallery','gifs/rajasthan-culture.jpg','EmilyGalleryCaption','Cultural Rajasthan');LoadGallery('EmilyGallery1','gifs/snake-charmer.jpg','EmilyGallery2','gifs/desert-safaris.jpg');}}
browserName=navigator.appName;browserName1=navigator.userAgent;browserVer=parseInt(navigator.appVersion);condition=!(((browserName.indexOf("Explorer")>=0)&&(browserVer<4))||((browserName.indexOf("Netscape")>=0)&&(browserVer<2))||((browserName1.indexOf("Firefox")!=-1)));if(condition==true)
CanAnimate=true;else
CanAnimate=false;function translator(pattern)
{var open_in_same_window=1;var my_location=unescape(document.location.toString());var new_location='';var new_pattern='';if(my_location.indexOf('translate_c?')!=-1){var indexof_u=my_location.indexOf('u=');if(indexof_u==-1){new_location=document.location;}
else{var subs=my_location.substring(indexof_u,my_location.length);var ss=subs.split('&');new_location=ss[0].substring(2,ss[0].length);}}
else{new_location=document.location;}
indexof_p=pattern.indexOf('|');var isen='';if(indexof_p==-1){indexof_p1=pattern.indexOf('><');if(indexof_p1==-1){new_pattern=pattern;if(pattern=='en'){isen=1;}}
else{var psplit=pattern.split('><');new_pattern=psplit[0]+'|'+psplit[1];if(psplit[1]=='en'){isen=1;}}}
else{var psplit=pattern.split('|');new_pattern=psplit[0]+'|'+psplit[1];if(psplit[1]=='en'){isen=1;}}
var thisurl='';if(isen==1){thisurl=new_location;}
else{thisurl='http://translate.google.com/translate_c?langpair='+new_pattern+"&u="+new_location;}
if(open_in_same_window==1){window.location.href=thisurl;}
else{if(CanAnimate){msgWindow=window.open('','subwindow','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0');msgWindow.focus();msgWindow.location.href=thisurl;}
else{msgWindow=window.open(thisurl,'subwindow','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0');}}}