// BrowserCheck Object
function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns3 = (this.b=="ns" && this.v==3)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie3 = (this.version.indexOf('MSIE 3')>0)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
	var operatingSysVar = navigator.userAgent
	this.operatingSysVar = operatingSysVar
	this.mac = (operatingSysVar.indexOf('Mac')>=1)
	this.windows = (operatingSysVar.indexOf('Windows')>=1)
	
}
is = new BrowserCheck();


browserName = navigator.appName;

browserVer = parseInt(navigator.appVersion);

version="n2";



function openWin() { 

aWindow=window.open("https://staging.gsk.ibreathe.com/cgi-bin/ibreathe/asthma_survey/survey.cgi?location=" + document.location,"thewindow","toolbar=no,width=500,height=450,status=no,menubar=yes,resizable=yes,scrollbars=yes");

}


function openWin2() { 

aWindow=window.open("http://staging.gsk.ibreathe.com/ibreathe_pages/2_0_asthma/images/inflammation_constriction_animation.swf","thewindow","toolbar=no,width=450,height=300,status=no,menubar=no,resizable=no,scrollbars=no");

}