<!--  

// Browser Sniffer
var sAgent = navigator.userAgent;
var mac = sAgent.indexOf("Mac") > -1;

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);

ns3 = (bName == "Netscape" && bVer == 3);
ns4 = (bName == "Netscape" && bVer >= 4);
ie3 = (bName == "Microsoft Internet Explorer" && bVer == 3);
ie4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
ver4 = (ns4 || ie4)? true:false;
ie3_ns4_ie4 = (ns4 || ie4 || ie3)? true:false;

var url = parent.location.href;

on = true

// Rollover Functions
function findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
}


// New Window 
function OpenWindow5(file,window5) {    msgWindow=open(file,window5,'resizable=yes,scrollbars=yes,width=432,height=313,top=15,left=15,');

}

function openPage( page, pwidth, pheight, pwinName, pfeatures ){   var width = 500;   var height = 450;   var winName = "ex1Win";   if( pwidth != null && pwidth != "" )	width = pwidth;   if( pheight != null && pheight != "" )	height = pheight;   if( pwinName != null && pwinName != "" )	winName = pwinName;   var topMid = (screen.availHeight - height)/2 - 20;   var leftMid = (screen.availWidth - width)/2;   var features = "width="+width+",height="+height+",left="+leftMid+",top="+topMid+",scrollbars=yes,alwaysraised,resizable";   if( pfeatures != null && pfeatures != "" )	features = pfeatures;   window.open( page, winName, features );

}

function openWindow() {
  		window.open("","pdf","toolbar=no,location=no,directories=no,status=yrd,menubar=no,scrollbars=yes,resizable=yes,width=750,height=550");
		}

function openThank(file,page) {
msgWindow=open(file,page,'resizable=yes,alwaysraised,scrollbars=yes,width=500,height=400,top=250,left=250,');

}

function swapImage() {
  var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function swapImgRestore() {
  var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

// Style Sheet
document.write("<style type='text/css'>" +
			   "<!-- " +
			   "a{color:#336699}" +
			   "a:hover{color:#990000}" +
			   ".heading{font-family:verdana;font-size:18px;font-weight:bold}" +
			   ".help{font-family:verdana;font-size:78px;font-weight:bold;color:#990000}" +
			   ".core{font-family:verdana;font-size:18px;font-weight:bold;color:#ffffff}" +
			   ".coresmall{font-family:verdana;font-size:12px;color:#7c7cfb}" +
			   "input{background:#cccccc;font-family:arial;font-size:11}" +
			   "select{background:#cccccc;font-family:arial;font-size:11}" +
			   "textarea{background:#cccccc;font-family:arial;font-size:11}" +
			   "input.norm{background:buttonface;font-family:arial;font-size:11}" +
			   "input.wh{background:#ffffff;font-family:arial;font-size:11}" +

			   "td{font-family:arial;font-size:14px;color:#000000}" +
			   ".body{font-family:arial, helvetica, sans serif;font-size:14px;color:#000000}" +
			   ".heading2{font-family:verdana;font-size:14px;font-weight:bold;color:#ffffff}" +
			   ".subhead2{font-family:verdana;font-size:12px;color:#000000}" +
			   ".subhead3{font-family:verdana;font-size:12px;font-weight:bold;color:#000000}" +
			   ".subhead4{font-family:verdana;font-size:10px;color:#000000}" +
			   ".subhead5{font-family:verdana;font-size:10px;font-weight:bold;color:#000000;text-decoration:none}" +
			   "//--> " +
			   "</style>")
			   
// Frame Links
function LinkTo(page) {
    parent.main.location.href = page;
}
function Welcome() {
    parent.main.location.href = 'welcome.htm';
	parent.menu.location.href = 'navmenu_self.htm';
}

// Hide Show
function show(object) {
if (document.layers) {
	if (document.layers[object] != null) document.layers[object].visibility = 'visible';
}
else if (document.all)
	document.all[object].style.visibility = 'visible';
}

function hide(object) {
if (document.layers) {
	if (document.layers[object] != null) document.layers[object].visibility = 'hidden';
}
else if (document.all)
	document.all[object].style.visibility = 'hidden';
}
			   
// Netscape Resize Workaround
if (ns4) {
	widthCheck = window.innerWidth
	heightCheck = window.innerHeight
	window.onResize = refresh
}
function refresh() {
	if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
	document.location.href = document.location.href
}

// Cookie
function Set_Cookie(name,value,expires,path,domain,secure) {
    document.cookie = name + "=" +escape(value) +
        ( (expires) ? ";expires=" + expires.toGMTString() : "") +
        ( (path) ? ";path=/" + path : "") + 
        ( (domain) ? ";domain=" + domain : "") +
        ( (secure) ? ";secure" : "");
}
function Get_Cookie(name) {
    var start = document.cookie.indexOf(name+"=");
    var len = start+name.length+1;
    if ((!start) && (name != document.cookie.substring(0,name.length))) return null;
    if (start == -1) return null;
    var end = document.cookie.indexOf(";",len);
    if (end == -1) end = document.cookie.length;
    return unescape(document.cookie.substring(len,end));
}
 
var today = new Date();
var expires = new Date(today.getTime() + (24 * 60 * 60 * 1000 * 365));

// New Window 
function OpenWindow5(file,window5) {
    msgWindow=open(file,window5,'resizable=yes,scrollbars=yes,width=600,height=400,top=15,left=15,');

    if (msgWindow.opener == null) msgWindow.opener = self;
}

// Survey Content Begins Here.....

var demoCategory1 = "Aligning Innovation with Business Needs";

var demoCategory2 = "Facilitating \"Outside-the-Box\" Thinking";

var demoCategory3 = "Making Ideas Actionable";

var demoCategory4 = "Encouraging Team Members to Contribute Ideas";

var demoCategory5 = "Openness to Others’ Ideas and Views";

var demoCategory6 = "Narrative Comments";

var demoScalarLeadin = "How satisfied are you with the way this person...";

var demoScalarQuestion1 = "Focuses people’s creativity on areas where improvement is most needed.";

var demoScalarQuestion2 = "Encourages people to learn about other functions' and organizations' best practices for improvement ideas.";

var demoScalarQuestion3 = "Helps people to make their ideas stronger; doesn’t just point out weaknesses.";

var demoScalarQuestion4 = "Consistently asks team members for ideas and suggestions.";

var demoScalarQuestion5 = "Encourages people to offer ideas and views that are different from his or her own.";

var demoEssayLeadin = "<b>IT IS HIGHLY RECOMMENDED THAT YOU COMPLETE THE COMMENT SECTION.</b> Please take a few moments to help this individual understand those things that are most important to you. To assure anonymity, please avoid  comments, phrases, or references that might identify you. These comments will be reported to the person exactly as stated.";

var demoEssayQuestion1 = "What are the most important areas of improvement for this person with respect to Innovation?";


// -->

