msg='NEW: Not previously sold at retail, in same condition as current factory production.\nMINT: Used but in New condition in every respect.\nEXCELLENT: New condition. Used very little. No noticeable marring of wood or metal. Bluing perfect, except at muzzle or sharp edges.\nVERY GOOD: In perfect working condition, no appreciable wear on working surfaces, no corrosion or pitting, only minor surface dents or scratches.\nGOOD: In safe working condition, minor wear on working surfaces, no broken parts, no corrosion or pitting that will interfere with proper functioning.\nFAIR: In safe working condition but well worn, perhaps requiring replacement of minor parts or adjustments.  No rust, but may have corrosion pits which do not render article unsafe or inoperable.\n'

var Button = new Array(8);
Button[1] = new Image();
Button[2] = new Image();
Button[3] = new Image();
Button[4] = new Image();
Button[5] = new Image();
Button[6] = new Image();
Button[7] = new Image();
Button[8] = new Image();
Button[9] = new Image();
Button[10] = new Image();
Button[1].src = "menu1on.gif";
Button[2].src = "menu1inact.gif";
Button[3].src = "menu2on.gif";
Button[4].src = "menu2inact.gif";
Button[5].src = "menu3on.gif";
Button[6].src = "menu3inact.gif";	
Button[7].src = "menu4on.gif";
Button[8].src = "menu4inact.gif";
Button[9].src = "menu5on.gif";
Button[10].src = "menu5inact.gif"


function showPic(imageType){
	if (document.images){
		switch(imageType){
		case "homeon" :
			document.images[2].src=Button[1].src;
			break;
		case "svcson" :
			document.images[3].src=Button[3].src;
			break;
		case "invon" :
			document.images[4].src=Button[5].src;
			break;
		case "galon" :
			document.images[5].src=Button[7].src;
			break;
		case "conon" :
			document.images[6].src=Button[9].src;
			break;
		case "homeoff" :
			document.images[2].src=Button[2].src;
			break;
		case "svcsoff" :
			document.images[3].src=Button[4].src;
			break;
		case "invoff" :
			document.images[4].src=Button[6].src;
			break;
		case "galoff" :
			document.images[5].src=Button[8].src;
			break;
		case "conoff" :
			document.images[6].src=Button[10].src;
		}
	}
}


function popUp(photo,wide,high,message){
	if (window.PicWin) PicWin.close();
	wide = wide + 20;
	high = high + 80;
	varstring = "width="+wide+",height="+high+",toolbar=0,status=0";
	PicWin=window.open("","PicWin",varstring);
	PicWin.document.write('<IMG SRC="'+photo+'">');
	PicWin.document.write('<P><DIV ALIGN="center">'+message);
	PicWin.document.write('<FORM NAME="closewin">');
	PicWin.document.write('<P><INPUT TYPE="button" VALUE="Close Window" onClick="window.close();">');
	PicWin.document.write('</FORM>');
	PicWin.document.write('</DIV>');
}


function showPopUp(photo,title,cond,price,desc){
	if (window.PicWin) PicWin.close();
	PicWin=window.open("","PicWin",'width=690,height=650,toolbar=0,status=0 scrollbars=1');
	PicWin.document.write('<HTML><HEAD><LINK REL="stylesheet" TYPE="text/css" HREF="../format.css" /><BODY BGCOLOR="#FAEDCB">');
	PicWin.document.write('<table cellpadding="0" cellspacing="5" border="0" bgcolor="#FAEDCB" width="650">');
	PicWin.document.write('<TR><TD ALIGN="center" COLSPAN="3"><IMG SRC="'+photo+'" BORDER=1></TD></TR>');
	PicWin.document.write('<TR><TD ALIGN="left" width=60%><SPAN CLASS="showtitle">'+title+'</SPAN></TD>');
	PicWin.document.write('<TD ALIGN="center" width=20%><SPAN CLASS="showheading">Condition:</SPAN><SPAN CLASS="showdetail" ALIGN="center">'+cond+'</SPAN></TD>');
	PicWin.document.write('<TD ALIGN="right" width=20%><SPAN CLASS="showheading">Price:</SPAN><SPAN CLASS="showdetail" ALIGN="center">'+price+'</SPAN> </TD></TR>');
	PicWin.document.write('<TR><TD COLSPAN="3"><IMG SRC="space25.gif" WIDTH=2 HEIGHT=10></TD></TR>');
	PicWin.document.write('<TR><TD ALIGN="left" COLSPAN="3"><SPAN CLASS="showheading">Description:</SPAN><SPAN CLASS="showdetail">'+desc+'</SPAN></TD></TR>');
	PicWin.document.write('</TABLE><P><DIV ALIGN="center">');
	PicWin.document.write('<FORM NAME="closewin">');
	PicWin.document.write('<P><INPUT TYPE="button" VALUE="Close Window" onClick="window.close();">');
	PicWin.document.write('</FORM>');
	PicWin.document.write('</DIV></BODY></HTML>');
}


function noBigPic(picID) { 
	document.getElementById(picID).innerHTML='<img src="sorry.jpg" WIDTH=640 HEIGHT=480" BORDER=1>' 
}
 
function noSmallPic(picID) { 
	document.getElementById(picID).innerHTML='<img src="sorrys.jpg" WIDTH=200 HEIGHT=150 BORDER=1>' 
} 


function condPopUp() { 
	alert(msg);
} 



// Original:  CodeLifter.com (support@codelifter.com) -->
// Web Site:  http://www.codelifter.com -->
// Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '1.jpg'
Pic[1] = '2.jpg'
Pic[2] = '3.jpg'
Pic[3] = '4.jpg'
Pic[4] = '5.jpg'
Pic[5] = '6.jpg'
Pic[6] = '7.jpg'
Pic[7] = '8.jpg'

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->



