<!--
		// HORIZONTAL SCROLLER //
		// Jeff
		// www.huntingground.freeserve.co.uk
		// ********** User Defining Area **********


		data=
			[
			
			["productimages/1st_shoot_317.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productimages/1st_shoot_324.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productimages/1st_shoot_329.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productimages/1st_shoot_336.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productimages/1st_shoot_337.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productimages/1st_shoot_343.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productImages/8-29-09_076.jpg","","http://norpak.net/Interfold.htm#interFoldCustom"],
			["productimages/counter_roll_MF_15.jpg","","http://norpak.net/Counter_rolls.htm#counterRollMF"],
			["productimages/counter_roll_MF_15-18.jpg","","http://norpak.net/Counter_rolls.htm#counterRollMF"],
			["productimages/counter_roll_MF_18.jpg","","http://norpak.net/Counter_rolls.htm#counterRollMF"],
			["productImages/ecobake_unopened_oblique_horizontal_150_degrees.jpg","","http://norpak.net/Bakery_pan_liners.htm#ecoBake"],
			["productImages/ecobake_unopened_oblique_horizontal_30_degrees.jpg","","http://norpak.net/Bakery_pan_liners.htm#ecoBake"],
			["productImages/f1215del_inner_vertical_unopened.jpg","","http://norpak.net/Delwrap_mica.htm#delWrap"],
			["productImages/f1418sub_horizontal_opened.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#subwrap"],
			["productImages/f1418sub_horizontal_unopened_30_degrees.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#subwrap"],
			["productImages/F1520TWB_horizontal_unopened_with_smaller_sample_sheets_on_top.jpg","","http://norpak.net/Butcher_true_white.htm#trueWhiteButcher"],
			["productImages/f15del_vertical.jpg","","http://norpak.net/Delwrap_mica.htm#delWrap"],
			["productImages/f15eco_vertical.jpg","","http://norpak.net/Counter_rolls.htm#economyMG"],
			["productImages/f15fp_and_f15fp_side_by_side_vertical.jpg","","http://norpak.net/Freezer_papers.htm#freezerWrap"],
			["productImages/f15mg_and_f18mg_side_by_side_vertical.jpg","","http://norpak.net/Counter_rolls.htm#mg"],
			["productImages/f15mic.jpg","","http://norpak.net/Delwrap_mica.htm#mica"],
			["productImages/f15mic_and_f18mic_side_by_side_vertical.jpg","","http://norpak.net/Delwrap_mica.htm#mica"],
			["productImages/f15mp.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#meatPak"],
			["productImages/f15mp_1200_feet_and_f18mp_1200_feet_side_by_side_vertical.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#meatPak"],
			["productImages/F15PB7_vertical.jpg","","http://norpak.net/Butcher_peach.htm#peachButcher"],
			["productImages/F15TWB_vertical.jpg","","http://norpak.net/Butcher_true_white.htm#trueWhiteButcher"],
			["productImages/f15ws1100_vertical.jpg","","http://norpak.net/Counter_rolls.htm#wetStrength"],
			["productImages/f18fp_vertical.jpg","","http://norpak.net/Freezer_papers.htm#freezerWrap"],
			["productImages/f18fp_vertical.jpg","","http://norpak.net/Freezer_papers.htm#freezerWrap"],
			["productImages/f18fp_vertical_sitting_atop_loose_sheets.jpg","","http://norpak.net/Freezer_papers.htm#freezerWrap"],
			["productImages/f18mic.jpg","","http://norpak.net/Delwrap_mica.htm#mica"],
			["productImages/f18mp.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#meatPak"],
			["productImages/F18PB7_vertical.jpg","","http://norpak.net/Butcher_peach.htm#peachButcher"],
			["productImages/f912del_inner_and_outer_side_by_side_unopened.jpg","","http://norpak.net/Delwrap_mica.htm#delWrap"],
			["productImages/f912del_inner_opened.jpg","","http://norpak.net/Delwrap_mica.htm#delWrap"],
			["productImages/fcpr15_and_fcpr18_vertical_side_by_side.jpg","","http://norpak.net/Counter_rolls.htm#premiumMG"],
			["productImages/flow_bunch_w_midget_open_and_junior_case.jpg","","http://norpak.net/Interfold.htm#loganWrap"],
			["productImages/flow_inners_5-stack_unopened.jpg","","http://norpak.net/Interfold.htm#loganWrap"],
			["productImages/flow10_case_unopened.jpg","","http://norpak.net/Interfold.htm#loganWrap"],
			["productImages/flow15_inner_horizontal_unopened.jpg","","http://norpak.net/Interfold.htm#loganWrap"],
			["productImages/flow6_inner_and_outer_both_unopened_horizontal.jpg","","http://norpak.net/Interfold.htm#waxWrap"],
			["productImages/flow8_inner_horizontal_unopened.jpg","","http://norpak.net/Interfold.htm#loganWrap"],
			["productImages/flto15_TASTY_SOLO_inner.jpg","","http://norpak.net/Interfold.htm#interFoldCustom"],
			["productImages/fltw_inners_5-stack_unopened.jpg","","http://norpak.net/Interfold.htm#lightningWrap"],
			["productImages/fltw12_inner_horizontal_unopened.jpg","","http://norpak.net/Interfold.htm#lightningWrap"],
			["productImages/fltw15_7-11_inner_AND_outer.jpg","","http://norpak.net/Interfold.htm#interFoldCustom"],
			["productImages/fltw15_7-11_inner_SOLO.jpg","","http://norpak.net/Interfold.htm#interFoldCustom"],
			["productImages/fltw15_case_unopened.jpg","","http://norpak.net/Interfold.htm#lightningWrap"],
			["productImages/fltw8_inner_horizontal_unopened.jpg","","http://norpak.net/Interfold.htm#lightningWrap"],
			["productImages/fnup1215_inner_and_outer_both_unopened.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#nuparch"],
			["productImages/fnup1215_inner_flat_opened.jpg","","http://norpak.net/Nuparch_subwrap_meatpak.htm#nuparch"],
			["productImages/fww_inners_5-stack_unopened.jpg","","http://norpak.net/Interfold.htm#waxWrap"],
			["productImages/fww_inners_5-stack_with_food_sample_2_donuts.jpg","","http://norpak.net/Interfold.htm#waxWrap"],
			["productImages/fww6_-_coffee_essence_INNER_with_OUTER.jpg","","http://norpak.net/Interfold.htm#interFoldCustom"],
			["productImages/fww6_-_coffee_essence_SOLO_INNER.jpg","","http://norpak.net/Interfold.htm#interFoldCustom"],
			["productImages/fww6_inner_opened_horizontal_with_food_sample_donut.jpg","","http://norpak.net/Interfold.htm#waxWrap"],
			["productImages/quilon_horizontal_opened.jpg","","http://norpak.net/Bakery_pan_liners.htm#quilonPanLiners"],
			["productImages/quilon_horizontal_unopened.jpg","","http://norpak.net/Bakery_pan_liners.htm#quilonPanLiners"],
			["productImages/quilon_vertical_unopened.jpg","","http://norpak.net/Bakery_pan_liners.htm#quilonPanLiners"],
			["productImages/silicone_27_horizontal_opened.jpg","","http://norpak.net/Bakery_pan_liners.htm#siliconePanLiners"],
			["productImages/silicone_27_horizontal_unopened.jpg","","http://norpak.net/Bakery_pan_liners.htm#siliconePanLiners"],
			["productImages/silicone_35_vertical_unopened.jpg","","http://norpak.net/Bakery_pan_liners.htm#siliconePanLiners"],
			["productImages/silicone_vertical_unopened.jpg","","http://norpak.net/Bakery_pan_liners.htm#siliconePanLiners"],
			["productimages/tabletop.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"],
			["productimages/tabletop_photo.jpg","","http://norpak.net/Counter_rolls.htm#tableTop"]

			]
			
			Array.prototype.shuffle = function( b )
			{
			 var i = this.length, j, t;
			 while( i ) 
			 {
			  j = Math.floor( ( i-- ) * Math.random() );
			  t = b && typeof this[i].shuffle!=='undefined' ? this[i].shuffle() : this[i];
			  this[i] = this[j];
			  this[j] = t;
			 }
			
			 return this;
			};			

		data.shuffle(false);
		
			
		imgPlaces=4 // number of images visible
		imgWidth=160 // width of the images
		imgHeight=160 // height of the images
		imgSpacer=33 // space between the images

		dir=1 // 0 = left, 1 = right

		newWindow=0 // 0 = Open a new window for links 0 = no  1 = yes

		// ********** End User Defining Area **********

		moz=document.getElementById&&!document.all
		step=1
		timer=""
		speed=60
		nextPic=0
		initPos=new Array()
		nowDivPos=new Array()

		function initHIS3()
			{
				for(var i=0;i<imgPlaces+1;i++)
					{ // create image holders
						newImg=document.createElement("IMG")
						newImg.setAttribute("id","pic_"+i)
						newImg.setAttribute("src","")
						newImg.style.position="absolute"
						newImg.style.width=imgWidth+"px"
						newImg.style.height=imgHeight+"px"
						newImg.style.border=0
						newImg.alt=""
						newImg.i=i
					// the following was commented
						newImg.onclick=function(){his3Win(data[this.i][2])}
					// end comment
						document.getElementById("display_area").appendChild(newImg)
					}
				containerEL=document.getElementById("his3container")
				displayArea=document.getElementById("display_area")
				pic0=document.getElementById("pic_0")

				containerWidth=(imgPlaces*imgWidth)+((imgPlaces-1)*imgSpacer)
				containerEL.style.width=containerWidth
				containerEL.style.height=imgHeight
			
			// center containerEL
			//	containerEL.style.position="relative"
			//	if (parseInt(navigator.appVersion)>3)
			//		{
			//			if (navigator.appName=="Netscape")
			//				{
			//					winW = window.innerWidth;
			//					winH = window.innerHeight;
			//				}
			//			if (navigator.appName.indexOf("Microsoft")!=-1)
			//				{
			//					winW = document.body.offsetWidth;
			//					winH = document.body.offsetHeight;
			//				}
			//		}
			//	containerEL.style.left=(winW/4)-40
			// end center containerEL

				displayArea.style.width=containerWidth+"px"
				displayArea.style.clip="rect(0,"+(containerWidth+"px")+","+(imgHeight+"px")+",0)"
			// the following were commented
				displayArea.onmouseover=function(){stopHIS3()}
				displayArea.onmouseout=function(){scrollHIS3()}
			// end commenting
			
				imgPos= -pic0.width

				for(var i=0;i<imgPlaces+1;i++)
					{
						currentImage=document.getElementById("pic_"+i)
						if(dir==0)
							{
								imgPos+=pic0.width+imgSpacer
							} // if left

						initPos[i]=imgPos
						if(dir==0)
							{
								currentImage.style.left=initPos[i]+"px"
							} // if left

						if(dir==1)
							{ // if right
								document.getElementById("pic_"+[(imgPlaces-i)]).style.left=initPos[i]+"px"
								imgPos+=pic0.width+imgSpacer
							}

						if(nextPic==data.length)
							{
								nextPic=0
							}

						currentImage.src=data[nextPic][0]
						currentImage.alt=data[nextPic][1]
						currentImage.i=nextPic
						// currentImage.onclick=function(){his3Win(data[this.i][2])}
						nextPic++
					}
				scrollHIS3()
			}
		timer=""
	
	function scrollHIS3()
		{
			clearTimeout(timer)
			for(var i=0;i<imgPlaces+1;i++)
				{
					currentImage=document.getElementById("pic_"+i)
					nowDivPos[i]=parseInt(currentImage.style.left)

					if(dir==0){nowDivPos[i]-=step}
					if(dir==1){nowDivPos[i]+=step}
					if(dir==0&&nowDivPos[i]<= -(pic0.width+imgSpacer) || dir==1&&nowDivPos[i]>containerWidth)
						{
							if(dir==0){currentImage.style.left=containerWidth+imgSpacer+"px"}
							if(dir==1){currentImage.style.left= -pic0.width-(imgSpacer*2)+"px"}
							if(nextPic>data.length-1){nextPic=0}
							currentImage.src=data[nextPic][0]
							currentImage.alt=data[nextPic][1]
							currentImage.i=nextPic
							// currentImage.onclick=function(){his3Win(data[this.i][2])}
							nextPic++
						}
					else
						{
							currentImage.style.left=nowDivPos[i]+"px"
						}
				}
			timer=setTimeout("scrollHIS3()",speed)
		}

	function stopHIS3()
		{
			clearTimeout(timer)
		}

	function his3Win(loc)
		{
			if(loc==""){return}
			if(newWindow==0)
				{
					location=loc
				}
			else
				{
					//window.open(loc)
					newin=window.open(loc,'win1','left=430,top=340,width=300,height=300') // use for specific size and positioned window
					newin.focus()
				}
		}

//-->

