var sliderwidth="738px"
var sliderheight="100px"
var slidespeed=1
slidebgcolor="#ffffff"

var leftrightslide=new Array()
var finalslide=''

leftrightslide[0]='<img src="qila5.jpg" width="137" height="100" border="0" alt=":: Shahi Samadhan ::                                                               The samadhis of the royal family of Patiala consists of the samadhi of the founder Baba Ala Singh and the chhatris of the other rulers. It is a befitting memorial to the people who created Patiala." />'


leftrightslide[1]='<img src="baradari.jpg" width="137" height="100" border="0" alt=":: Barandari Gardens ::                                                            The Barandari gardens surround the Rajindra Kothi located in the north of old Patiala city, just outside Sheranwala Gate. The gardens, laid under Maharaja Rajindera Singh were planted extensively rare trees and shrubs, dotted with impressive Colonial buildings and a marble statue of Maharaja Rajindera Singh and the Fern House. The 19th century Fern House, a replica of the one in Calcutta forms a unique attraction along with quaint Rink Hall."/>'

leftrightslide[2]='<img src="sheeshmahal.jpg" width="137" height="100" border="0" alt=":: Sheesh Mahal ::                                                               The Sheesh Mahal was built behind the main Moti Bagh Palace to serve as a pleasure complex.The paintings in two of its well maintained , mirror-worked chambers are of Kangra and Rajasthani qalam, depicting the poetic visions of Keshav, Surdas and Bihari. The Sheesh Mahal now houses a museum, an art gallery, the famed medal gallery and also the North Zone Cultural Centre." />'

leftrightslide[3]='<img src="nis.jpg" width="137" height="100" border="0" alt=":: Old Moti Bagh Palace ::                                                   Started during the reign of Maharaja Narinder Singh, it was completed under Maharaja Bhupinder Singh in the early 20th century. The Old Moti Bagh Palace now houses the National Institute for Sports. The facade has Rajasthan - style jharokas and chhatris, and the palace is set in a beautiful garden with terraces, water channels and a Sheesh Mahal." />'

leftrightslide[4]='<img src="sheeshmahal3.jpg" alt=":: Lachman Jhoola ::                                                               Across the small Lake in front of Sheesh Mahal is a magnificent suspension bridge which being a replica of the famous Lakshman Jhoola at Rishikesh, is also named as Lachman Jhoola. It links the Sheesh Mahal with the Banasar Ghar on the other side of the lake. The Banasar Ghar now houses the North Zone Cultural Center and a hall for setting up exhibitions." width="137" height="100" border="0" />'

leftrightslide[5]='<img src="qila2.jpg" width="137" height="100" border="0" alt=":: Qila Mubarak ::                                                               The Qila Mubarak complex stands in 10-acre ground in the heart of the city, and contains the main palace or Qila Androon (literally,inner fort), the guesthouse or Ran Baas and the Darbar Hall. Outside the Qila are the Darshani Gate, a Shiva temple, and bazaar shops which border the streets that run around the Qila and sell precious ornaments, colorful hand-woven fabrics, jootis and bright Parandis." />'

leftrightslide[6]='<img src="maiji.jpg" width="137" height="100" alt=":: Mai ji di Saraan ::                                                               An interesting monument which was originally built as a saraan to provide a resting place for the viery travellers. It speaks of the legendary service to humanity of MAI AAS KAUR." border="0" />'

leftrightslide[7]='<img src="cricketground.jpg" width="137" height="100" border="0" alt=":: Barandari Cricket Stadium Pavillion ::                                   This cricket ground which is now more than 100 years old is one of the finest grounds with arguably the greenest cover around it, set amidst the sylvan Barandari Gardens."/>'

leftrightslide[8]='<img src="qila3.jpg" width="137" height="100" border="0" alt=":: Darbar Hall ::                                                                    The imposing Darbar hall stands on the right as you enter the fore-court of the Qila Mubarak. It is a regal hall with a very high intricately patterned ceiling, from which hangs one of the finest collection of imposing chandeliers. Presently it also houses a museum where you can see the old royal silver coach, weapons etc." />'

var imagegap='<img src="images/spacer.gif" height="1" width="1" border"0">'

var slideshowgap=0

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",50)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}