function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}


document.write("<div class='top'>")
	document.write("<div class='header_link' align='right'>")
		var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
		var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
		function getthedate(){
		var mydate=new Date()
		var year=mydate.getYear()
		if (year < 1000)
		year+=1900
		var day=mydate.getDay()
		var month=mydate.getMonth()
		var daym=mydate.getDate()
		if (daym<10)
		daym="0"+daym
		var hours=mydate.getHours()
		var minutes=mydate.getMinutes()
		var seconds=mydate.getSeconds()
		var dn="AM"
		if (hours>=12)
		dn="PM"
		if (hours>12){
		hours=hours-12
		}
		if (hours==0)
		hours=12
		if (minutes<=9)
		minutes="0"+minutes
		if (seconds<=9)
		seconds="0"+seconds
		//change font size here
		var cdate="<font face='Arial' color='#ffffff'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
		+"</b></font>"
		if (document.all)
		document.all.clock.innerHTML=cdate
		else if (document.getElementById)
		document.getElementById("clock").innerHTML=cdate
		else
		document.write(cdate)
		}
		if (!document.all&&!document.getElementById)
		getthedate()
		function goforit(){
		if (document.all||document.getElementById)
		setInterval("getthedate()",1000)
		}
					
		document.write("<table width='100%'><tr>")
		//document.write("<td width='23%'><img src='img/logo.png' alt='The Tour Planners' width='300' border='0'></span></td>")
		document.write("<td width='25%'><span id='clock' style='float:left;'></span></td>")
		document.write("<td width='60%'><marquee class='news'>For Booking of Packages or any other enquiry please call: +91 99 8888 1739 | +91 99 8665 0118</marquee></td>")
		document.write("<td width='15%' align='right' class='news'><a href='index.php'><img src='../../img/home.png' alt='Home' title='Home' border='0'></a>&nbsp;&nbsp;<a href='javascript:bookmarksite(&#39;The Tour Planners&#39;, &#39;http://www.thetourplanners.com&#39;)'><img src='../../img/add_to_favorites.png' alt='Bookmark this page' title='Bookmark this page'></a>&nbsp;&nbsp;<a href='about_us.php?category=Company%20Profile'><img src='../../img/about.png' border='0' alt='About' title='About'></a>&nbsp;&nbsp;<a href='contact.php'><img src='../../img/email.png' border='0' alt='Contact' title='Contact'></a></td>")
		//document.write("<td align='right' class='news'><img src='img/comments.png' alt='Call us' border='0'><b>Customer Care</b> (10:00 AM to 7:00 PM): +91 99 8888 1739<br/><br/><a href='index.php'><img src='img/home.png' alt='Home' border='0'></a>&nbsp;&nbsp;<a href='javascript:bookmarksite(&#39;Tour Planners Kerala&#39;, &#39;http://www.tourplannerskerala.com&#39;)'><img src='img/add_to_favorites.png' alt='Bookmark this page' title='Bookmark this page'></a>&nbsp;&nbsp;<a href='about_us.php?category=Company%20Profile'><img src='img/about.png' border='0' alt='About'></a>&nbsp;&nbsp;<a href='contact.php'><img src='img/email.png' border='0' alt='Contact'></a></td>")
		document.write("</tr></table>")
	document.write("</div>")

	document.write("<div class='header'>")
		document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='965' height='225'>")
		document.write("<param name='movie' value='../../slide.swf' />")
		document.write("<param name='quality' value='high' />")
		document.write("<param name='allowFullScreen' value='true' />")
		document.write("<param name='wmode' value='transparent'>")
		document.write("<embed src='../../slide.swf' quality='high' type='application/x-shockwave-flash' WMODE='transparent' width='965' height='225' allowFullScreen='true' pluginspage='http://www.macromedia.com/go/getflashplayer' />")
		document.write("</object>")
	document.write("</div>")
document.write("</div>")


/*================= Right Click Disabled ================
var message="Due to some Copyright © issues the Right Click is Disabled!!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")
*/

/*================= Pop Up Window ================*/
var newwindow;
function poptastic(url)
{
	newwindow=window.open(url,'name','height=650,width=700,left=250,top=150,resizable=no,scrollbars=yes,toolbar=no,status=no, screenX=250,screenY=150');
	if (window.focus) {newwindow.focus()}
}

function poptastic_chat(url)
{
	newwindow=window.open(url,'name','toolbar=no,width=320,height=420,left=350,top=150, screenX=250,screenY=150,status=no,scrollbars=no,addressbar=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}

function poptastic_dcalc(url)
{
	newwindow=window.open(url,'name','toolbar=no,width=380,height=250,left=350,top=150, screenX=250,screenY=150,status=no,scrollbars=no,addressbar=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}

function poptastic_currency(url)
{
	newwindow=window.open(url,'name','toolbar=no,width=640,height=267,left=300,top=150, screenX=250,screenY=150,status=no,scrollbars=no,addressbar=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}

/*================= Social media slider ================*/
var preload_ctrl_images=false;
var slides3=[]; 
slides3[0] = ["../../img/home_slider.gif", "", ""];
slides3[1] = ["../../img/amarnath_heli_ad.gif", "", ""];


//optional properties for these images:
slides3.no_descriptions=1; //use for no descriptions displayed
slides3.pause=1; //use for pause onmouseover
slides3.no_controls=1; //use images for controls
slides3.specs='width=355px, height=200px' //global specifications for this show's new window(s)
slides3.random=1; //set a random slide sequence on each page load
slides3.manual_start=0; //start show in manual mode (stopped)


var slides1=[]; 
slides1[0] = ["img/twitter_logo.gif", "", "http://twitter.com/thetourplanners"];
slides1[1] = ["img/facebook_logo.gif", "", "http://www.facebook.com/thetourplanners"];
slides1[2] = ["img/orkut_logo.gif", "", "http://www.orkut.co.in/Main#Community.aspx?cmm=90500887"];
slides1[3] = ["img/linkedin_logo.gif", "", "http://www.linkedin.com/company/the-tour-planners"];
slides1[4] = ["img/friendfeed_logo.gif", "", "http://www.friendfeed.com/thetourplanners"];
slides1[5] = ["img/digg_logo.gif", "", "http://digg.com/users/thetourplanners"];
slides1[6] = ["img/delicious_logo.gif", "", "http://delicious.com/thetourplanners"];
slides1[7] = ["img/stumbleupon_logo.gif", "", "http://thetourplanners.stumbleupon.com"];
slides1[8] = ["img/justdial_logo.gif", "", "http://www.justdial.com/Patiala/The-Tour-Planners-%3Cnear%3E--Amar-Banquet-Hall-Patiala/9999P1762-1762-111221133359-B7W9_UGF0aWFsYSBUaGUgVG91ciBQbGFubmVycyBQYXRpYWxh_BZDET"];

slides1.no_descriptions=1; //use for no descriptions displayed
slides1.pause=1; //use for pause onmouseover
slides1.no_controls=1; //use images for controls
slides1.specs='width=200px, height=80px' //global specifications for this show's new window(s)
slides1.random=1; //set a random slide sequence on each page load
slides1.manual_start=0; //start show in manual mode (stopped)
slides1.target='_new';
slides1.specs='width=1024px, height=768px, top=150, left=100, menubar, toolbar, titlebar, status, scrollbars, resizable, location';
document.write("<script src='js/swissarmy.js' type='text/javascript'></script>")

