function scrollObject(main, width, height, direct, pause, speed) {
				  var self = this;
				  this.main = main;
				  this.width = width;
				  this.height = height;
				  this.direct = direct;
				  this.pause = pause;
				  this.speed = Math.max(1.001, Math.min((direct == "up" || direct == "down") ? height : width, speed));
				  this.block = new Array();
				  this.blockprev = this.offset = 0;
				  this.blockcurr = 1;
				  this.mouse = false;
				  this.scroll = function() {
					if (!document.getElementById) return false;
					this.main = document.getElementById(this.main);
					while (this.main.firstChild) this.main.removeChild(this.main.firstChild);
					this.main.style.overflow = "hidden";
					this.main.style.position = "relative";
					this.main.style.width = this.width + "px";
					this.main.style.height = this.height + "px";
					for (var x = 0; x < this.block.length; x++) {
					  var table = document.createElement('table');
						  table.cellPadding = table.cellSpacing = table.border = "0";
						  table.style.position = "absolute";
						  table.style.left = table.style.top = "0px";
						  table.style.width = this.width + "px";
						  table.style.height = this.height + "px";
						  table.style.overflow = table.style.visibility = "hidden";
						var tbody = document.createElement('tbody');
						  var tr = document.createElement('tr');
							var td = document.createElement('td');
								td.innerHTML = this.block[x];
							  tr.appendChild(td);
							tbody.appendChild(tr);
						  table.appendChild(tbody);
					  this.main.appendChild(this.block[x] = table);
					}
					if (this.block.length > 1) {
					  this.main.onmouseover = function() { self.mouse = true; }
					  this.main.onmouseout = function() { self.mouse = false; }
					  setInterval(function() {
						if (!self.offset && self.scrollLoop()) self.block[self.blockcurr].style.visibility = "visible";
					  }, this.pause);
					} this.block[this.blockprev].style.visibility = "visible";
				  }
				  this.scrollLoop = function() {
					if (!this.offset) {
					  if (this.mouse) return false;
					  this.offset = (this.direct == "up" || this.direct == "down") ? this.height : this.width;
					} else this.offset = Math.floor(this.offset / this.speed);
					if (this.direct == "up" || this.direct == "down") {
					  this.block[this.blockcurr].style.top = ((this.direct == "up") ? this.offset : -this.offset) + "px";
					  this.block[this.blockprev].style.top = ((this.direct == "up") ? this.offset - this.height : this.height - this.offset) + "px";
					} else {
					  this.block[this.blockcurr].style.left = ((this.direct == "left") ? this.offset : -this.offset) + "px";
					  this.block[this.blockprev].style.left = ((this.direct == "left") ? this.offset - this.width : this.width - this.offset) + "px";
					}
					if (!this.offset) {
					  this.block[this.blockprev].style.visibility = "hidden";
					  this.blockprev = this.blockcurr;
					  if (++this.blockcurr >= this.block.length) this.blockcurr = 0;
					} else setTimeout(function() { self.scrollLoop(); }, 30);
					return true;
				  }
				}

/*
* The arguments for this object are as follows:
*  a. - ID of the target tag (from step 1)
*  b. - Width (in pixels) of your scroller
*  c. - Height (in pixels) of your scroller
*  d. - Scroll direction: one of "up", "down", "left" or "right"
*  e. - Amount of time to pause before next scroll begins (ms)
*  f. - Slide-in speed of your scroller (1.001 up to width or height)
*/
				var scroll1 = new scrollObject("scr1", 370, 350, "up", 5000, 1.4);
				 scroll1.block[0] = " <FONT SIZE='7' COLOR='#FF9900'><B>Belligave</B></FONT> <br> <FONT COLOR='#CC6666'>Belligave is 20 Kms. from Shikaripura and 80Kms. from Shimoga. This was the capital of Banvasi Nadu during 12th century. Keshareshwara temple ,Panchalinga temple. Kaithaleshwara and Thripuramthakeshwara temple are known for the architectural beauty. There are few Veerashivas Mutts.</FONT>";
				 scroll1.block[1] = "<FONT SIZE='7' COLOR='#666600'><B>Uduthadi</B></FONT> <br>  <FONT COLOR='#660000'>This is 7 Kms. from Shikaripura. There is a fort .This is the birth place of Akkamadevi.</FONT>";
				 scroll1.block[2] = "<FONT SIZE='7' COLOR='#FF0000'><B>Madagamasuru Tank</B></FONT> <br> <FONT COLOR='#666600'>This is 10 Kms. from Shikaripura. The tourist comes from neighboring districts, Kumudvathi river is flowing here. A tank is constructed across this river. The tank is also called as Madaga Masuru Tank or Bageerathi Tank. This is an ideal picnic spot for tourists.</FONT>";
				 scroll1.block[3] = "<FONT SIZE='7' COLOR='#FF33FF'><B>Thalagunda</B> </FONT> <br> <FONT COLOR='#336633'>Thalagunda is at a distance of four Kms. from Belligave. Several inscriptions are found in this are Pranshwara temple is worth to visit. To the east of Thalagunda '<B>Prabhudeva Gaddige</B>' is situated.</FONT>";
				 scroll1.block[4] = "<FONT SIZE='7' COLOR='#9900FF'><B>Bandalike</B></FONT> <br> <FONT COLOR='#996666'>Bandalike is 35 Kms. to north of Shikaripura. It has many temples and Basadies. In the temples we will find sculptures and writings of Kadambas and Rashtrakutas period. Shanthinath Basadi ,Someshwara Threemurthi and Sahasralinga temples are very important temples and historical place.</FONT>";


				 var scroll2 = new scrollObject("scr2", 370, 350, "left", 5000, 1.5);
				 scroll2.block[0] = 'Belligave Temple <br><IMG SRC="images/shimoga/Belligave.jpg" WIDTH="305" HEIGHT="206" BORDER="0" ALT="Belligave Temple" CLASS="elemFader6">';
				 scroll2.block[1] = 'Sri Rameshwara Temple <br><IMG SRC="images/shimoga/Bandalike2.jpg" WIDTH="305" HEIGHT="214" BORDER="0" ALT="Sri Rameshwara Temple" CLASS="elemFader5">';
				 scroll2.block[2] = 'Varneshwara Temple <br><IMG SRC="images/shimoga/Talagunda.jpg" WIDTH="305" HEIGHT="214" BORDER="0" ALT="Varneshwara Temple" CLASS="elemFader4"> ';
				 scroll2.block[3] = 'Kapileshwara Temple<br><IMG SRC="images/shimoga/Bandalike.jpg" WIDTH="302" HEIGHT="204" BORDER="0" ALT="Kapileshwara Temple" CLASS="elemFader5">';
				 scroll2.block[4] = 'Belligave Temple <br><IMG SRC="images/shimoga/Belligave5.jpg" WIDTH="281" HEIGHT="192" BORDER="0" ALT="Belligave Temple" CLASS="elemFader6">';
