// JavaScript Document
if(document.getElementById && document.createTextNode)
{
	window.onload=function()
	{

	// Five Zone
	if (document.getElementById('fivezone')) {
		document.getElementById('fivezone').onclick = fivezone;
		}
	// Non-Flip
	if (document.getElementById('nonflip')) {
		document.getElementById('nonflip').onclick = nonflip;
		}
	if (document.getElementById('largesmall')) {
		document.getElementById('largesmall').onclick = productimage;
		}
	if (document.getElementById('largesmall01')) {
	document.getElementById('largesmall01').onclick = productimage01;
		}
	if (document.getElementById('largesmall01ct')) {
	document.getElementById('largesmall01ct').onclick = productimage01ct;
		}
	if (document.getElementById('largesmall02')) {
	document.getElementById('largesmall02').onclick = productimage02;
		}
	if (document.getElementById('largesmall03')) {
	document.getElementById('largesmall03').onclick = productimage03;
		}
	if (document.getElementById('largesmall04')) {
	document.getElementById('largesmall04').onclick = productimage04;
		}
	if (document.getElementById('largesmall05')) {
	document.getElementById('largesmall05').onclick = productimage05;
		}
	if (document.getElementById('largesmall06')) {
	document.getElementById('largesmall06').onclick = productimage06;
		}
	if (document.getElementById('largesmall07')) {
	document.getElementById('largesmall07').onclick = productimage07;
		}
	if (document.getElementById('largesmall08')) {
	document.getElementById('largesmall08').onclick = productimage08;
		}
	if (document.getElementById('largesmall09')) {
	document.getElementById('largesmall09').onclick = productimage09;
		}
	if (document.getElementById('largesmall10')) {
	document.getElementById('largesmall10').onclick = productimage10;
		}
	if (document.getElementById('largesmallOther')) {
	document.getElementById('largesmallOther').onclick = productimageOther;
		}

	if (document.getElementById('largesmallOther1')) {
	document.getElementById('largesmallOther1').onclick = productimageOther1;
		}
	if (document.getElementById('largesmallOther2')) {
	document.getElementById('largesmallOther2').onclick = productimageOther2;
		}
	if (document.getElementById('largesmallOther3')) {
	document.getElementById('largesmallOther3').onclick = productimageOther3;
		}
	if (document.getElementById('largesmallOther4')) {
	document.getElementById('largesmallOther4').onclick = productimageOther4;
		}
	if (document.getElementById('largesmallOther5')) {
	document.getElementById('largesmallOther5').onclick = productimageOther5;
		}
	if (document.getElementById('largesmallOther6')) {
	document.getElementById('largesmallOther6').onclick = productimageOther6;
		}
	if (document.getElementById('largesmallOther7')) {
	document.getElementById('largesmallOther7').onclick = productimageOther7;
		}
	if (document.getElementById('largesmallOther8')) {
	document.getElementById('largesmallOther8').onclick = productimageOther8;
		}
		
		
	}
}
function productimage(event) {
	var i, dot, img;
	img = document.getElementById('productimage').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall').className='minimize';
		}
	return false;
}
function productimage01(event) {
	var i, dot, img;
	img = document.getElementById('productimage01').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage01').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall01').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall01').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage01').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall01').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall01').className='minimize';
		}
	return false;
}
function productimage01ct(event) {
	var i, dot, img;
	img = document.getElementById('productimage01ct').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage01ct').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall01ct').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall01ct').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage01ct').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall01ct').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall01ct').className='minimize';
		}
	return false;
}
function productimage02(event) {
	var i, dot, img;
	img = document.getElementById('productimage02').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage02').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall02').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall02').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage02').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall02').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall02').className='minimize';
		}
	return false;
}
function productimage03(event) {
	var i, dot, img;
	img = document.getElementById('productimage03').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage03').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall03').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall03').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage03').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall03').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall03').className='minimize';
		}
	return false;
}
function productimage04(event) {
	var i, dot, img;
	img = document.getElementById('productimage04').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage04').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall04').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall04').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage04').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall04').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall04').className='minimize';
		}
	return false;
}
function productimage05(event) {
	var i, dot, img;
	img = document.getElementById('productimage05').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage05').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall05').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall05').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage05').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall05').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall05').className='minimize';
		}
	return false;
}
function productimage06(event) {
	var i, dot, img;
	img = document.getElementById('productimage06').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage06').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall06').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall06').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage06').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall06').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall06').className='minimize';
		}
	return false;
}
function productimage07(event) {
	var i, dot, img;
	img = document.getElementById('productimage07').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage07').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall07').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall07').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage07').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall07').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall07').className='minimize';
		}
	return false;
}
function productimage08(event) {
	var i, dot, img;
	img = document.getElementById('productimage08').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage08').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall08').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall08').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage08').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall08').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall08').className='minimize';
		}
	return false;
}
function productimage09(event) {
	var i, dot, img;
	img = document.getElementById('productimage09').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage09').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall09').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall09').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage09').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall09').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall09').className='minimize';
		}
	return false;
}
function productimage10(event) {
	var i, dot, img;
	img = document.getElementById('productimage10').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimage10').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmall10').firstChild.nodeValue='Click to maximize image';
		document.getElementById('largesmall10').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimage10').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmall10').firstChild.nodeValue='Click to minimize image';
		document.getElementById('largesmall10').className='minimize';
		}
	return false;
}
function productimageOther(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther').className='minimize';
		}
	return false;
}

function productimageOther1(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther1').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther1').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther1').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther1').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther1').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther1').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther1').className='minimize';
		}
	return false;
}

function productimageOther2(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther2').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther2').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther2').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther2').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther2').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther2').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther2').className='minimize';
		}
	return false;
}
function productimageOther3(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther3').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther3').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther3').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther3').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther3').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther3').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther3').className='minimize';
		}
	return false;
}

function productimageOther4(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther4').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther4').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther4').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther4').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther4').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther4').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther4').className='minimize';
		}
	return false;
}

function productimageOther5(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther5').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther5').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther5').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther5').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther5').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther5').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther5').className='minimize';
		}
	return false;
}

function productimageOther6(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther6').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther6').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther6').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther6').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther6').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther6').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther6').className='minimize';
		}
	return false;
}

function productimageOther7(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther7').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther7').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther7').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther7').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther7').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther7').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther7').className='minimize';
		}
	return false;
}

function productimageOther8(event) {
	var i, dot, img;
	img = document.getElementById('productimageOther8').firstChild.src;
	i = img.indexOf('_small');
	dot = img.lastIndexOf('.');
	if (i==-1) { //String not found - currently LARGE image, change to SMALL
		i = dot;
		document.getElementById('productimageOther8').firstChild.src=img.substr(0,i) 
		+ '_small' + img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther8').firstChild.nodeValue='Click to larger image & other photos';
		document.getElementById('largesmallOther8').className='maximize';
		} else { //String found - currently SMALL image, change to LARGE
		document.getElementById('productimageOther8').firstChild.src=img.substr(0,i) 
		+ img.substr(dot,img.length-dot);
		document.getElementById('largesmallOther8').firstChild.nodeValue='Click to minimize images';
		document.getElementById('largesmallOther8').className='minimize';
		}
	return false;
}

function fivezone(event) {
	if (document.getElementById('fivezone_xp').className=='li_expand') {
		document.getElementById('fivezone_xp').className='li_collapse';
		} else {
		document.getElementById('fivezone_xp').className='li_expand';
		}
  	return false;
}
function nonflip(event) {
	if (document.getElementById('nonflip_xp').className=='li_expand') {
		document.getElementById('nonflip_xp').className='li_collapse';
		} else {
		document.getElementById('nonflip_xp').className='li_expand';
		}
  	return false;
}

