//Post 'Em Notes Header by flooble.com
//This script is Copyright (c) 2003 Animus Pactum Consulting.
//For more information, visit:
//http://www.flooble.com/scripts/postems.php


//START of Post 'Em Notes Header code
var ie = false;
var lastNote = '';
if (document.all) { ie = true; }

function getObj(id) {
	if (ie) {
		return document.all[id];
	} else {
		return document.getElementById(id);
	}
}

function showNote(name) {
	if (name == lastNote) {
		hideNote(name);
		return;
	}

	if (lastNote != '') { hideNote(lastNote); }
	var title = getObj(name + '_title');
	var body = getObj(name + '_body');
	body.className = 'notevisible';
	lastNote = name;
}

function hideNote(name) {
	var title = getObj(name + '_title');
	var body = getObj(name + '_body');
	body.className = 'notehidden';
	lastNote = '';
}

//end pop up functions


//break out of iframe on order page
if (top != window)
    top.location.href = window.location.href;


function pagePrint() {
    if (window.print) window.print();
	else alert("Please select the Print option from File Menu");
}