﻿<!--
		var CookieId;
		var ZoomValue;
		var CustName;

		function ReadCurrentZoom(CustName) 
		{
			
			try {
				if(navigator.cookieEnabled==true) 
				{
					if(readCookie(CustName)) 
					{
						ZoomValue = readCookie(CustName);
					} 
					else 
					{
						ZoomValue = "1";
					}

					window.document.body.className="Scale" + ZoomValue;
					CookieId = CustName;		
				}
			} catch(e) {
				alert(e);
			}
		}

		function Zoom(ZoomIncrement)
		{
			try {
				
				if(navigator.cookieEnabled==true) 
				{
					if((ZoomValue=="0" || ZoomValue=="1" || ZoomValue=="2") && ZoomIncrement=="+1") 
					{
						ZoomValue=parseFloat(ZoomValue)+ZoomIncrement;
						
					}
					
					else if((ZoomValue=="1"|| ZoomValue=="2" || ZoomValue=="3") && ZoomIncrement=="-1") 
					{
						ZoomValue=parseFloat(ZoomValue)+ZoomIncrement;
					}
					
					window.document.body.className="Scale" + ZoomValue;			
					createCookie(CookieId,ZoomValue,7);
				}
				
			} catch(e) {
				alert(e);
			}
		}


		function createCookie(name,value,days)
		{
			try {
				if (days)
				{
					var date = new Date();
					date.setTime(date.getTime()+(days*24*60*60*1000));
					var expires = "; expires="+date.toGMTString();
				}
				else var expires = "";
				document.cookie = name+"="+value+expires+"; path=/";
			} catch(e) {
				// error
			}
		}

		function readCookie(name)
		{	try {
				var nameEQ = name + "=";
				var ca = document.cookie.split(';');
				for(var i=0;i < ca.length;i++)
				{
					var c = ca[i];
					while (c.charAt(0)==' ') c = c.substring(1,c.length);
					if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
				}
				return null;
			} catch(e) {
				alert(e);
			}
		}


var da = (document.all) ? 1 : 0;
var pr = (window.print) ? 1 : 0;

function printPage(frame) {
  if (frame == window) {
    printThis();
  } 
  return false;
}

function printThis() {
  if (pr) {
    window.print();
  } else {
    alert("Sorry, your browser doesn't support this feature.");
  }
}

// -->