/////////////////////////////////////////
// Rollover Images
/////////////////////////////////////////
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

/////////////////////////////////////////
// Pop Up Image
/////////////////////////////////////////
function NewWindow(mypage,myname,w,h,wintitle,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  win=window.open(mypage,myname,settings);
  //win.document.write('<head><title>'+wintitle+'</title></head>');
  //win.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">');
  //win.open.(mypage);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
	


/////////////////////////////////////////
// Styles Secondary Nav
/////////////////////////////////////////
function styleSecondaryNav(){	
	var theTable = document.getElementById('secondaryNavTable');
	var theRows = theTable.getElementsByTagName('tr');
	var theLinks = theTable.getElementsByTagName('a');
	var curr_row;
	
	for (curr_row = 0; curr_row < theRows.length; curr_row++)
	{
		currentpath=window.location.href;
		newpath=theLinks[curr_row].href;
		curr_array=currentpath.split("/");
		new_array=newpath.split("/");

		if(curr_array[curr_array.length-1]=="" || curr_array[curr_array.length-1]=="#"){
				//remove empty value or test link
				curr_array.pop();
		}
		if(new_array[new_array.length-1]==""){
				new_array.pop();
		}
		//alert(curr_array[curr_array.length-1]+" = "+new_array[new_array.length-1]);
		theRow=curr_row;
		theLinks[curr_row].className="secondaryNav";
		
			if(curr_array[curr_array.length-1]==new_array[new_array.length-1] && newpath.lastIndexOf('#')<0){
				theRows[curr_row].className="secondaryNavSelect secondaryNavTD";
				theLinks[curr_row].style.color="#FFFFFF";
			}else{
				theRows[curr_row].className="secondaryNavOut secondaryNavTD";
		
				theLinks[curr_row].onmouseover = function() {
					this.parentNode.className="secondaryNavOver secondaryNavTD";		
				}
				theLinks[curr_row].onmouseout = function() {
					this.parentNode.className="secondaryNavOut secondaryNavTD";	
				}
				
			}
	
		}

	}

	
	
	
	
	
	
	
	// Index It Image Slideshow script- By JavaScriptKit.com
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

//Specify images for slideshow:
//["Image Path", "Optional Image link"]

var numberslide=new Array()
numberslide[0]=["/products/hardware/images/sussex/753988w.jpg"]
numberslide[1]=["/products/hardware/images/sussex/753954w.jpg"]
numberslide[2]=["/products/hardware/images/sussex/753921w.jpg"]
numberslide[3]=["/products/hardware/images/sussex/753897w.jpg"]
numberslide[4]=["/products/hardware/images/sussex/753889w.jpg"]
numberslide[5]=["/products/hardware/images/sussex/753863w.jpg"]
numberslide[6]=["/products/hardware/images/sussex/753830w.jpg"]
numberslide[7]=["/products/hardware/images/sussex/753806w.jpg"]
numberslide[8]=["/products/hardware/images/sussex/753772w.jpg"]
numberslide[9]=["/products/hardware/images/sussex/753764w.jpg"]
numberslide[10]=["/products/hardware/images/sussex/753756w.jpg"]
numberslide[11]=["/products/hardware/images/sussex/753681w.jpg"]
numberslide[12]=["/products/hardware/images/sussex/753657w.jpg"]
numberslide[13]=["/products/hardware/images/sussex/753640w.jpg"]
numberslide[14]=["/products/hardware/images/sussex/753590w.jpg"]
numberslide[15]=["/products/hardware/images/sussex/753582w.jpg"]
numberslide[16]=["/products/hardware/images/sussex/753574w.jpg"]

var mylinktarget="fbe156" //specify optional link target
var mylinkcolor="fbe1546" //specify default color of number links
var mylinkcolorSelected="" //specify color of selected links

var imgborderwidth=0 //specify border of image slideshow

/////Stop customizing here////////////////

var preloadit=new Array()
for (i=0;i<numberslide.length;i++){
preloadit[i]=new Image()
preloadit[i].src=numberslide[i][0]
}

var currentindex=""

function changeslides(which){
var imghtml=""
currentindex=(which=="initial")? 0 : parseInt(which)
var mode=(which=="initial")? "initial" : ""
var which=(mode=="initial")? numberslide[0] : numberslide[which]
if (which[1]!="")
imghtml='<a href="'+which[1]+'" target="'+mylinktarget+'">'
imghtml+='<img src="'+which[0]+'" border="'+imgborderwidth+'">'
if (which[1]!="")
imghtml+='</a>'

if (mode=="initial")
document.write('<div>'+imghtml+'</div>')
else{
document.getElementById("imagecontainer").innerHTML=imghtml
changecolors()
}
}

function createnumbers(){
document.write('<a href="javascript:changeslides(0)" style="color:'+mylinkcolorSelected+'">0</a> ')
for (i=1; i< numberslide.length; i++)
document.write('<a href="javascript:changeslides(\''+i+'\')">'+i+'</a> ')
}

function changecolors(){
var numberobj=document.getElementById("numberDiv")
numberlinks=numberobj.getElementsByTagName("A")
for (i=0; i<=currentindex; i++)
numberlinks[i].style.color=mylinkcolorSelected
for (i=currentindex+1; i<numberslide.length; i++)
numberlinks[i].style.color=mylinkcolor
}

function goforward(){
if (currentindex<numberslide.length-1)
changeslides(currentindex+1)
}

function goback(){
if (currentindex!=0)
changeslides(currentindex-1)
}



	// Index It Image Slideshow script- By JavaScriptKit.com
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

//Specify images for slideshow:
//["Image Path", "Optional Image link"]

var numberslide=new Array()
numberslide[0]=["/products/hardware/images/royalton/731190w.jpg"]
numberslide[1]=["/products/hardware/images/royalton/731182w.jpg"]
numberslide[2]=["/products/hardware/images/royalton/731174w.jpg"]
numberslide[3]=["/products/hardware/images/royalton/731166w.jpg"]
numberslide[4]=["/products/hardware/images/royalton/731158w.jpg"]
numberslide[5]=["/products/hardware/images/royalton/731141w.jpg"]
numberslide[6]=["/products/hardware/images/royalton/731133w.jpg"]
numberslide[7]=["/products/hardware/images/royalton/731125w.jpg"]
numberslide[8]=["/products/hardware/images/royalton/731117w.jpg"]
numberslide[9]=["/products/hardware/images/royalton/731109w.jpg"]
numberslide[10]=["/products/hardware/images/royalton/731091w.jpg"]
numberslide[11]=["/products/hardware/images/royalton/731083w.jpg"]
numberslide[12]=["/products/hardware/images/royalton/731075w.jpg"]
numberslide[13]=["/products/hardware/images/royalton/731067w.jpg"]
numberslide[14]=["/products/hardware/images/royalton/731042w.jpg"]
numberslide[15]=["/products/hardware/images/royalton/731034w.jpg"]
numberslide[16]=["/products/hardware/images/royalton/731026w.jpg"]
numberslide[17]=["/products/hardware/images/royalton/731018w.jpg"]
numberslide[18]=["/products/hardware/images/royalton/731000w.jpg"]
numberslide[19]=["/products/hardware/images/royalton/730994w.jpg"]
numberslide[20]=["/products/hardware/images/royalton/730986w.jpg"]
numberslide[21]=["/products/hardware/images/royalton/730978w.jpg"]
numberslide[22]=["/products/hardware/images/royalton/730960w.jpg"]
numberslide[23]=["/products/hardware/images/royalton/730952w.jpg"]
numberslide[24]=["/products/hardware/images/royalton/730945w.jpg"]
numberslide[25]=["/products/hardware/images/royalton/730937w.jpg"]
numberslide[26]=["/products/hardware/images/royalton/730929w.jpg"]
numberslide[27]=["/products/hardware/images/royalton/730911w.jpg"]


var mylinktarget="fbe156" //specify optional link target
var mylinkcolor="fbe1546" //specify default color of number links
var mylinkcolorSelected="" //specify color of selected links

var imgborderwidth=0 //specify border of image slideshow

/////Stop customizing here////////////////

var preloadit=new Array()
for (i=0;i<numberslide.length;i++){
preloadit[i]=new Image()
preloadit[i].src=numberslide[i][0]
}

var currentindex=""

function changeslides2(which){
var imghtml=""
currentindex=(which=="initial")? 0 : parseInt(which)
var mode=(which=="initial")? "initial" : ""
var which=(mode=="initial")? numberslide[0] : numberslide[which]
if (which[1]!="")
imghtml='<a href="'+which[1]+'" target="'+mylinktarget+'">'
imghtml+='<img src="'+which[0]+'" border="'+imgborderwidth+'">'
if (which[1]!="")
imghtml+='</a>'

if (mode=="initial")
document.write('<div>'+imghtml+'</div>')
else{
document.getElementById("imagecontainer").innerHTML=imghtml
changecolors()
}
}

function createnumbers(){
document.write('<a href="javascript:changeslides(0)" style="color:'+mylinkcolorSelected+'">0</a> ')
for (i=1; i< numberslide.length; i++)
document.write('<a href="javascript:changeslides(\''+i+'\')">'+i+'</a> ')
}

function changecolors(){
var numberobj=document.getElementById("numberDiv")
numberlinks=numberobj.getElementsByTagName("A")
for (i=0; i<=currentindex; i++)
numberlinks[i].style.color=mylinkcolorSelected
for (i=currentindex+1; i<numberslide.length; i++)
numberlinks[i].style.color=mylinkcolor
}

function goforward(){
if (currentindex<numberslide.length-1)
changeslides(currentindex+1)
}

function goback(){
if (currentindex!=0)
changeslides(currentindex-1)
}



	// Index It Image Slideshow script- By JavaScriptKit.com
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

//Specify images for slideshow:
//["Image Path", "Optional Image link"]

var numberslide=new Array()
numberslide[0]=["/products/hardware/images/coventry/753566w.jpg"]
numberslide[1]=["/products/hardware/images/coventry/753558w.jpg"]
numberslide[2]=["/products/hardware/images/coventry/753541w.jpg"]
numberslide[3]=["/products/hardware/images/coventry/753533w.jpg"]
numberslide[4]=["/products/hardware/images/coventry/753525w.jpg"]
numberslide[5]=["/products/hardware/images/coventry/753517w.jpg"]
numberslide[6]=["/products/hardware/images/coventry/750232w.jpg"]
numberslide[7]=["/products/hardware/images/coventry/750208w.jpg"]
numberslide[8]=["/products/hardware/images/coventry/750190w.jpg"]
numberslide[9]=["/products/hardware/images/coventry/743054w.jpg"]
numberslide[10]=["/products/hardware/images/coventry/741017w.jpg"]
numberslide[11]=["/products/hardware/images/coventry/741009w.jpg"]
numberslide[12]=["/products/hardware/images/coventry/740993w.jpg"]
numberslide[13]=["/products/hardware/images/coventry/740985w.jpg"]
numberslide[14]=["/products/hardware/images/coventry/740977w.jpg"]
numberslide[15]=["/products/hardware/images/coventry/740951w.jpg"]
numberslide[16]=["/products/hardware/images/coventry/740944w.jpg"]
numberslide[17]=["/products/hardware/images/coventry/740936w.jpg"]
numberslide[18]=["/products/hardware/images/coventry/740928w.jpg"]
numberslide[19]=["/products/hardware/images/coventry/740910w.jpg"]
numberslide[20]=["/products/hardware/images/coventry/740902w.jpg"]
numberslide[21]=["/products/hardware/images/coventry/740894w.jpg"]
numberslide[22]=["/products/hardware/images/coventry/740316w.jpg"]
numberslide[23]=["/products/hardware/images/coventry/740308w.jpg"]
numberslide[24]=["/products/hardware/images/coventry/740290w.jpg"]
numberslide[25]=["/products/hardware/images/coventry/700682w.jpg"]
numberslide[26]=["/products/hardware/images/coventry/700567w.jpg"]
numberslide[27]=["/products/hardware/images/coventry/700559w.jpg"]
numberslide[28]=["/products/hardware/images/coventry/518464w.jpg"]
numberslide[29]=["/products/hardware/images/coventry/512434w.jpg"]
numberslide[30]=["/products/hardware/images/coventry/512426w.jpg"]
numberslide[31]=["/products/hardware/images/coventry/512418w.jpg"]


var mylinktarget="fbe156" //specify optional link target
var mylinkcolor="fbe1546" //specify default color of number links
var mylinkcolorSelected="" //specify color of selected links

var imgborderwidth=0 //specify border of image slideshow

/////Stop customizing here////////////////

var preloadit=new Array()
for (i=0;i<numberslide.length;i++){
preloadit[i]=new Image()
preloadit[i].src=numberslide[i][0]
}

var currentindex=""

function changeslides3(which){
var imghtml=""
currentindex=(which=="initial")? 0 : parseInt(which)
var mode=(which=="initial")? "initial" : ""
var which=(mode=="initial")? numberslide[0] : numberslide[which]
if (which[1]!="")
imghtml='<a href="'+which[1]+'" target="'+mylinktarget+'">'
imghtml+='<img src="'+which[0]+'" border="'+imgborderwidth+'">'
if (which[1]!="")
imghtml+='</a>'

if (mode=="initial")
document.write('<div>'+imghtml+'</div>')
else{
document.getElementById("imagecontainer").innerHTML=imghtml
changecolors()
}
}

function createnumbers(){
document.write('<a href="javascript:changeslides(0)" style="color:'+mylinkcolorSelected+'">0</a> ')
for (i=1; i< numberslide.length; i++)
document.write('<a href="javascript:changeslides(\''+i+'\')">'+i+'</a> ')
}

function changecolors(){
var numberobj=document.getElementById("numberDiv")
numberlinks=numberobj.getElementsByTagName("A")
for (i=0; i<=currentindex; i++)
numberlinks[i].style.color=mylinkcolorSelected
for (i=currentindex+1; i<numberslide.length; i++)
numberlinks[i].style.color=mylinkcolor
}

function goforward(){
if (currentindex<numberslide.length-1)
changeslides(currentindex+1)
}

function goback(){
if (currentindex!=0)
changeslides(currentindex-1)
}