if (document.images) { // Preloaded images
demo1 = new Image();
demo1.src = "http://www.holidayshub.com/images/pic-1.jpg";

demo2 = new Image();
demo2.src = "http://www.holidayshub.com/images/pic-2.jpg";

demo3 = new Image();
demo3.src = "http://www.holidayshub.com/images/pic-3.jpg";

demo4 = new Image();
demo4.src = "http://www.holidayshub.com/images/pic-4.jpg";

demo5 = new Image();
demo5.src = "http://www.holidayshub.com/images/pic-5.jpg";
}

function timeimgs(numb) { // Reusable timer
thetimer = setTimeout("imgturn('" +numb+ "')", 5000);
}

function imgturn(numb) { // Reusable image turner
if (document.images) {

if (numb == "5") { // This will loop the image
document["demo"].src = eval("demo5.src");
timeimgs('1');
}

else { document["demo"].src = eval("demo" + numb + ".src");

timeimgs(numb = ++numb);
}
}
}
var dt;
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var dt=new Date();
var year=dt.getYear();
var day=dt.getDay();
var dat=dt.getDate();
var month=dt.getMonth();

if(dat<10)
{
	dat="0"+dat;
}

var dateval=dat+" "+montharray[month]+" "+year;
function header1(path) {
	
	var dat,month,year;
	if(path==null)
	{
		path='./';
	}
	
document.write('<table border="0" cellpadding="2" cellspacing="1" width="100%"> <tr> <td class=heading2><img border="0" src="'+path+'images/hh-logo.jpg" width="139" height="87"><br> Today: '+dateval+'</b></td><td valign="middle" class=heading><p align="center">Holidays Hub</p></td></center><td valign="middle"><form action="http://www.holidayshub.com/cgi-bin/hosearch.pl" name="srhfm" style="word-spacing: 0; margin: 0" method="post"><input type="hidden" name="boolean" value="AND"><input type="hidden" name="case" value="Insensitive"><div align="right"> <table border="0" cellpadding="2" cellspacing="1" height="67"> <tr> <td valign="middle" height="67" class=heading3> <p align="right"><b>Search<br> Holidays&nbsp;Hub</font></b></p> </td> <center> <td valign="middle" height="67"> <input type="text" name="k_word" size="20"><input border="0" src="'+path+'images/got.jpg" name="I1" width="28" height="25" type="image" align="absmiddle"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font face="Verdana,arial" size="1"><a href="advsearch.html"><font color="#000080">Advance Search</font></a></font></td> </tr> </table> </div> </form> </center> </td> </tr> </table> </td> </tr> </table> </div> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%"><div align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td bgcolor="#EF9E42"> <div align="right"><table border="0" cellpadding="0" cellspacing="0" style="position: relative" ><tr><td bgcolor="#EF9E42" class="header"><a href="'+path+'index.html" class=header>Home</font></a></td><td bgcolor="#EF9E42"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><b><!-- <a href="'+path+'about-us.html" class=header> -->About Us</font></a></b></td><td background="'+path+'images/butnf.gif"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><b><!-- <a href="'+path+'contact-us.html" class=header> -->Contact Us</font></a></b></td><td background="'+path+'images/butnf.gif"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><b><!-- <a href="'+path+'disclaimer.html" class=header> -->Disclaimer</a></td><td background="'+path+'images/butnf.gif"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><b><!-- <a href="'+path+'hotel-booking.html" class=header> -->Hotel Booking</font></a></td><td background="'+path+'images/butnf.gif"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><b><!-- <a href="'+path+'air-booking.html" class=header> -->Air Booking</a></td><td background="'+path+'images/butnf.gif"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><b><!-- <a href="'+path+'car-booking.html"  class=header> -->Car Booking</a></td><td background="'+path+'images/butnf.gif"><font size="1"><img border="0" src="'+path+'images/sepr.gif" width="10" height="26"></font></td><td bgcolor="#EF9E42" class=header><!-- <a href="'+path+'tour-booking.html" class=header> -->Tour Booking</font></a></td><td background="'+path+'images/butnf.gif"><img border="0" src="'+path+'images/butnf.gif" width="11" height="26"></td></tr></table> </div></td></tr></table></div> </td> </tr> </table> </div>');
}
function footer1(path)
{
	if(path==null)
	{
		path='./';
	}
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="331"></td> <td bgcolor="#E99C40" valign="top" width="27"><img border="0" src="'+path+'images/corner.gif" align="top" width="26" height="16"></td> <td bgcolor="#E99C40" valign="middle" class=header> <p align="right"><b><a href="'+path+'index.html" class=header>Home</a> || <!-- <a href="'+path+'about-us.html" class=header> -->About Us</a> || </font><!-- <a href="'+path+'contact-us.html" class=header> -->Contact Us</a> || <!-- <a href="'+path+'disclaimer.html" class=header> -->Disclaimer</a></b><img border="0" src="'+path+'images/butnf.gif" width="11" height="10"></td> </tr> <tr> <td bgcolor="#E99C40" width="331" class=footer>&nbsp;Copyright © 2004-2005 :: HolidayHub.com ::</font></td> <td bgcolor="#E99C40" width="27">&nbsp;</td> <td bgcolor="#E99C40" valign="top" class=header> <p align="right"><b><!-- <a href="'+path+'hotel-booking.html" class=header> -->HotelBooking</a> || </font><!-- <a href="'+path+'air-booking.html" class=header>Air Booking</a> --> || <!-- <a href="'+path+'car-booking.html" class=header> -->Car Booking</a> || <!-- <a href="'+path+'tour-booking.html" class=header> -->Tour Booking</font></a><img border="0" src="'+path+'images/butnf.gif" width="11" height="8"></td> </tr>	</table><p align="center"><font class=footer>Site designed, developed and maintained by </font> <a href="http://www.turnkeysoftwareprojects.com/" class=footer target="_blank" title="Turnkey Software Projects Pvt. Ltd."><B>Turnkey Software Projects Pvt. Ltd.</B></a></b></p><tr><td height=4></td></tr>');
}
function header(path) {
	
	var dat,month,year;
	if(path==null)
	{
		path='./';
	}

document.write('<div align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="100%"  border="0" cellspacing="0" cellpadding="0"><tr><td width=13%><img src="'+path+'images/logo-holidays-hub.jpg" alt="Holidays Hub" width="79" height="52"></td><td title="Holidays Hub" align=left valign=bottom><h1 class="new" align=left>&nbsp;Holidays Hub</h1></td><td>&nbsp;</td></tr></table></td></tr><tr><td colspan=2><IMG SRC="/images/trans.gif" WIDTH="1" HEIGHT="2" BORDER="0" ALT=""></td></tr><tr><td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td WIDTH="541" HEIGHT="172" align="center" valign="middle"><img src="'+path+'images/pic-1.jpg" name="demo" WIDTH="535" HEIGHT="172" alt="Holidays Hub"></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><img src="'+path+'images/img-1.jpg" alt="Goa" WIDTH="45" HEIGHT="171" border="0"></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><img src="'+path+'images/trans.gif" width="2" height="1"><img src="'+path+'images/img-2.jpg" alt="Kerala" WIDTH="45" HEIGHT="171" border="0"></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><img src="'+path+'images/img-3.jpg" alt="Rajasthan" WIDTH="45" HEIGHT="171" border="0"></td><td width="2">&nbsp;</td><td><img src="'+path+'images/img-4.jpg" alt="Agra" WIDTH="45" HEIGHT="171" border="0"></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><img src="'+path+'images/img-5.jpg" alt="Delhi" WIDTH="45" HEIGHT="171" border="0"></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td background="images/header-bg-internal.jpg" style="background-repeat : no-repeat;background-position: left;" WIDTH="195" valign=bottom>&nbsp;<!--<a href="'+path+'jammu-kashmir/index.html"><img src="'+path+'images/img-6.jpg" alt="Kashmir" WIDTH="45" HEIGHT="171" border="0"></a></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><a href="'+path+'himachal-pradesh/index.html"><img src="'+path+'images/img-7.jpg" alt="Himachal" WIDTH="45" HEIGHT="171" border="0"></a></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><a href="'+path+'uttaranchal/index.html"><img src="'+path+'images/img-8.jpg" alt="Uttaranchal" WIDTH="45" HEIGHT="171" border="0"></a></td><td width="2"><img src="'+path+'images/trans.gif" width="2" height="1"></td><td><a href="'+path+'buddhist-tourism/index.html"><img src="'+path+'images/img-9.jpg" alt="Buddhist Tourism" WIDTH="45" HEIGHT="171" border="0"></a>--></td></tr></table></td></tr><tr><td style="padding-left:3px; padding-top:3px; padding-right:3px; padding-bottom:3px;" class="links_main"><div align="center"><a href="'+path+'index.html" class="links_main">Home</a> | <a href="'+path+'about-us.html" class="links_main">About Us</a> | <a href="'+path+'contact-us.html" class="links_main">Contact Us</a> | <a href="'+path+'disclaimer.html" class="links_main">Disclaimer</a> | <a href="'+path+'hotel-booking.html" class="links_main">Hotel Booking</a> | <a href="'+path+'flight-booking.html" class="links_main">Flight Booking</a> | <a href="'+path+'car-booking.html" class="links_main">Car Booking</a> | <a href="'+path+'tour-booking.html" class="links_main">Tour Booking</a></div></td></tr></table></div>');
}

function footer(path)
{
	if(path==null)
	{
		path='./';
	}
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="60%"></td><td bgcolor="#E99C40" valign="top"><img border="0" src="'+path+'images/corner.gif" align="top" width="26" height="16"></td><td bgcolor="#E99C40" valign="middle" rowspan="2"><p align="center" class=header>Copyright © 2005-2006 :: HolidaysHub.com ::</p></td></tr><tr><td bgcolor="#E99C40" width="60%">&nbsp;</td><td bgcolor="#E99C40">&nbsp;</td></tr></table><p align="center"><font class=footer>Site designed, developed and maintained by </font> <a href="http://www.turnkeysoftwareprojects.com/" class=footer target="_blank" title="Turnkey Software Projects Pvt. Ltd."><B>Turnkey Software Projects Pvt. Ltd.</B></a></b></p><tr><td height=4></td></tr>');
}


function footer2(path)
{
	if(path==null)
	{
		path='./';
	}
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="531"></td> <td bgcolor="#E99C40" valign="top" width="27"><img border="0" src="'+path+'images/corner.gif" align="top" width="26" height="16"></td> <td bgcolor="#E99C40" valign="middle" class=header rowspan=2 align=center> Copyright © 2004-2005 :: HolidayHub.com ::<img border="0" src="'+path+'images/butnf.gif" width="11" height="10"></td> </tr> <tr> <td bgcolor="#E99C40" colspan=2  height="18" class=footer>&nbsp;</td> <!--<td bgcolor="#E99C40" width="27">&nbsp;</td> <td bgcolor="#E99C40" valign="top" class=header> <p align="right"><b><a href="'+path+'hotel-booking.html" class=header>HotelBooking</a> || </font><a href="'+path+'flight-booking.html" class=header>Flight Booking</a> || <a href="'+path+'car-booking.html" class=header>Car Booking</a> || <a href="'+path+'tour-booking.html" class=header>Tour Booking</font></a><img border="0" src="'+path+'images/butnf.gif" width="11" height="8"></td> --></tr>	</table><p align="center"><font class=footer>Site designed, developed and maintained by </font> <a href="http://www.turnkeysoftwareprojects.com/" class=footer target="_blank" title="Turnkey Software Projects Pvt. Ltd."><B>Turnkey Software Projects Pvt. Ltd.</B></a></b></p><tr><td height=4></td></tr>');
}
