function sale(value) {    
	if(value == "1") {
		document.write("<img border='0' src='../../images/sale.gif' align='absmiddle'>")
	};
}


function newitem(value) {    
	if(value == "1") {
		document.write("<img border='0' src='../../images/new.gif' align='absmiddle'>")
	};
}

function traycompatible(value) {    
	if(value == "1") {
		document.write("This product has a compatible Carrying Tray! <font size='1' color='#000000'>(see below)</font>")
	};
}

//This script and many more are available free online at -->
//The JavaScript Source!! http://javascript.internet.com -->

var msg = null
function win(image_name) {
	if(msg != null) if(!msg.closed) msg.close()
	msg=window.open("/products/basefiles/mini_single.asp?id=" + image_name,"msg","height=340,width=370,left=10,top=10");

	//msg=window.open("","msg","height=325,width=370,left=10,top=10");
	//msg.document.write("test");
	//msg.document.write("<body bgcolor='white' onBlur=window.close()>");
	//msg.document.write("<center><img src='/images/"+image_name+".jpg'>");
	//msg.document.write("<br><input type='button' value='Close Window' Onclick='window.close();'></center></body></html><p>");

	// If you just want to open an existing HTML page in the 
	// new window, you can replace win()'s coding above with:
	// window.open("page.html","","height=200,width=200,left=80,top=80");

}
