function Is() {
	agent = navigator.userAgent.toLowerCase();
	this.major = parseInt(navigator.appVersion);
	this.minor = parseFloat(navigator.appVersion);
	this.ns = ((agent.indexOf('mozilla') != -1) && ((agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1)));
	this.ns4 = (this.ns && (this.major == 4));
	this.ns6 = (this.ns && (this.major >= 5));
	this.ie = ((agent.indexOf("msie") != -1)&& (agent.indexOf('opera')==-1));
	this.winie = (this.win && this.ie);
	this.ie3 = (this.ie && (this.major < 4) && !this.ie6);
	this.ie4 = (this.ie && (this.major == 4) && (agent.indexOf("msie 4")!=-1) );
	this.ie401 = (this.ie && (this.major == 4) && (agent.indexOf("msie 4.01")!=-1) );
	this.ie4up = (this.ie && (this.major >= 4));
	this.ie5 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5")!=-1) );
	this.ie51 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.01")!=-1) );
	this.ie55 = (this.ie && (this.major == 4) && (agent.indexOf("msie 5.5")!=-1) );
	this.ie5up = (this.ie && !this.ie3 && !this.ie4);
	this.ie6 = (this.ie && (agent.indexOf("msie 6.0")!=-1) );
	this.ie7 = (this.ie && (agent.indexOf("msie 7.0")!=-1) );
}

var is = new Is();

function checkBrowser(){
	if(is.ie4||is.ie5||is.ie55||is.ie6){
		return "ie6";
	}
	else if (is.ie7){
		return "ie7";
	}
	else{
		//alert("inside other");
		return "ffs";
	}
}
var browser = checkBrowser();

function showService(id){
	var statement = "";
	switch(id){
		case "Sheeting":
			statement = '<strong>Sheeting</strong><br><br>Press ready sheets with dimensional accuracy of 1/64" in a variety of widths and weights including C1S, C2S, SBS and offset up to 40 pt. board';
			break;
		case "Guillotine":
			statement = '<strong>Guillotine Cutting</strong><br><br>Accurately cut custom size paper packaged to your specifications with quick turnaround';
			break;
		case "Inventory":
			statement = '<strong>Inventory Management</strong><br><br>Individualized programs are available that provide for continuous replenishment and inventory management based on forecasted needs. Weekly or monthly usage reports sent electronically.';
			break;
		case "Quality":
			statement = '<strong>Quality Control</strong><br><br>Documented inspection process from receipt of material to shipping of final product; Chain-of-Custody Certified through FSC/SFI/PEFC';
			break;
		case "Slitting":
			statement = '<strong>Slitting/Rewinding</strong><br><br>Custom roll sizes for a wide range of materials';
			break;
		case "Paper":
			statement = '<strong>Paper Sales</strong><br><br>Thousands of rolls on hand in our 90,000 sq. ft. facility at competitive prices, sold in roll or sheet form ';
			break;
		case "Barcoding":
			statement = '<strong>Barcoding</strong><br><br>Fully automated inventory management system incorporates barcode scanning to track paper location, quantity and status in real-time throughout production workflow.';
			break;
		default:
			statement = " ";
			break;
	}
	
	document.getElementById("contentDisplay").innerHTML = statement;
}
function hideService(id){
	document.getElementById("contentDisplay").innerHTML = " ";
}
