/*
		print.js
		Simple jQuery script to print HTML elements.
		
		See full guides and samples in index.html
		
		ATTENTION! Please see comments on line #26 and #40.
		   		   It requires style.css file please correct
				   paths on lines #24 and #38.
		
		TIP: if you want to change height and width of
			 preview window just give your values for
			 height and width variables (lines: #21 and #22; #35 and $36)

*/


$(document).ready(function(){ // wait for full DOM loading
	$("#printButton").click(function () { // button click event
		div = $("#print");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/111.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 222 + ',Width=' + 224);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton2").click(function () { // button click event
		div = $("#print2");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/123.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 222 + ',Width=' + 224);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton3").click(function () { // button click event
		div = $("#print3");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/125.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 222 + ',Width=' + 224);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton4").click(function () { // button click event
		div = $("#print4");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/1234.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 222 + ',Width=' + 224);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton5").click(function () { // button click event
		div = $("#print5");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/coupon/211.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton6").click(function () { // button click event
		div = $("#print6");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/coupon/217.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton7").click(function () { // button click event
		div = $("#print7");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/coupon/213.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton8").click(function () { // button click event
		div = $("#print8");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/coupon/212.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton9").click(function () { // button click event
		div = $("#print9");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/coupon/216.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton10").click(function () { // button click event
		div = $("#print10");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/coupon/215.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton11").click(function () { // button click event
		div = $("#print11");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/1.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton12").click(function () { // button click event
		div = $("#print12");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/2.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton13").click(function () { // button click event
		div = $("#print13");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/3.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton14").click(function () { // button click event
		div = $("#print14");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/4.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton15").click(function () { // button click event
		div = $("#print15");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/5.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton16").click(function () { // button click event
		div = $("#print16");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/218.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton17").click(function () { // button click event
		div = $("#print17");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/open_bowling/219.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	
	$("#printButton18").click(function () { // button click event
		div = $("#print18");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/corporate/001.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 277 + ',Width=' + 440);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	$("#printButton19").click(function () { // button click event
		div = $("#print19");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/corporate/002.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 277 + ',Width=' + 440);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	$("#printButton20").click(function () { // button click event
		div = $("#print20");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/corporate/003.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 407 + ',Width=' + 874);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	$("#printButton21").click(function () { // button click event
		div = $("#print21");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/corporate/004.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 277 + ',Width=' + 440);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton22").click(function () { // button click event
		div = $("#print22");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/corporate/005.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 277 + ',Width=' + 440);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton23").click(function () { // button click event
		div = $("#print23");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/corporate/006.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 460 + ',Width=' + 440);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton24").click(function () { // button click event
		div = $("#print24");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/holiday coupons/h1.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton25").click(function () { // button click event
		div = $("#print25");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/holiday coupons/h2.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 160 + ',Width=' + 250);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printButton26").click(function () { // button click event
		div = $("#print26");
		height = div.height();
		width = div.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="images/star.jpg" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS HEIGHT AND WIDTH BUT YOU MUST GIVE WIDTH IN style.css FILE
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + 219 + ',Width=' + 300);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	
	$("#printImg").click(function () { // image click event
		img = $("#printImg");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg1").click(function () { // image click event
		img = $("#printImg1");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg2").click(function () { // image click event
		img = $("#printImg2");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	$("#printImg3").click(function () { // image click event
		img = $("#printImg3");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	
	$("#printImg4").click(function () { // image click event
		img = $("#printImg4");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg5").click(function () { // image click event
		img = $("#printImg5");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg6").click(function () { // image click event
		img = $("#printImg6");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg7").click(function () { // image click event
		img = $("#printImg7");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg8").click(function () { // image click event
		img = $("#printImg8");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg9").click(function () { // image click event
		img = $("#printImg9");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg10").click(function () { // image click event
		img = $("#printImg10");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg11").click(function () { // image click event
		img = $("#printImg11");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
	$("#printImg12").click(function () { // image click event
		img = $("#printImg12");
		height = img.height();
		width = img.width();
		// creating the code of preview window
		pr = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Print Coupon</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="style.css" type="text/css" rel="stylesheet" /></head><body onload="print();" style="margin:0" id="print"><img src="' + img.attr('src') + '" alt="" /></body></html>';
		
		// opening preview window with sending print-command. IT GETS THE HEIGHT AND WIDTH OF YOUR IMAGE, BUT YOU CAN PUT YOUR OWN VALUES
		newWin = window.open('','printwin','Toolbar=0,Location=0,Directories=0,Status=0,Menubar=0,Scrollbars=0,Resizable=0,Height=' + height + ',Width=' + width);
		newWin.document.open();
		newWin.document.writeln(pr);
		newWin.document.close();
	});
});
