<!--- Hide from old browsers
//
//  This script only required for pages with Text Only View alternative page!
//
//  This JavaScript tries to reads the cookie value and will set it to F-Full Version
//  if it does not exist.
//
	expireDate = new Date
	expireDate.setMonth(expireDate.getMonth()+6)
	scrOpt = cookieVal("ScreenOpt")
	if (scrOpt == 0) {
	    scrOpt  = "F";
            document.cookie = "ScreenOpt="+scrOpt+"; expires=" + expireDate.toGMTString();
	}

//	
// This page function is called by above code and looks in the cookie file
// for the ScreenOpt cookie.
//	
	function cookieVal(cookieName) {
	thisCookie = document.cookie.split("; ")
	for (i=0; i<thisCookie.length; i++) {
	    if (cookieName == thisCookie[i].split("=")[0]) {
	        return thisCookie[i].split("=")[1]
	        }
	    }
	    return 0
	}
    
//  end hide --->	   