
		var LOGIN_ROOT = "http://coop.webon.net/coop61/frontend/javascript/external_login/";
		var LOGIN_URL  = "http://coop.webon.net/wsp/coop61/frontend.cgi?template=login_greybox";
		//var LOGIN_ROOT = "http://dev2.webon.net/coop61_dev2/frontend/javascript/external_login/";
		//var LOGIN_URL  = "http://dev2.webon.net/wsp/coop61_dev2/frontend.cgi?template=login_greybox";
		var LOGIN_W = 442;
		var LOGIN_H = 146;
		var LOGIN_CAP = "Logg inn på Coop Min Side";


		function loadjscssfile(filename, filetype){
		 if (filetype=="js"){ //if filename is a external JavaScript file
		  var fileref=document.createElement('script')
		  fileref.setAttribute("type","text/javascript")
		  fileref.setAttribute("src", filename)
		 }
		 else if (filetype=="css"){ //if filename is an external CSS file
		  var fileref=document.createElement("link")
		  fileref.setAttribute("rel", "stylesheet")
		  fileref.setAttribute("type", "text/css")
		  fileref.setAttribute("href", filename)
		 }
		 if (typeof fileref!="undefined")
		  document.getElementsByTagName("head")[0].appendChild(fileref)
		}

		loadjscssfile(LOGIN_ROOT+"AJS.js", "js") //dynamically load and add this .js file
		loadjscssfile(LOGIN_ROOT+"AJS_fx.js", "js") //dynamically load and add this .js file
		loadjscssfile(LOGIN_ROOT+"gb_scripts.js", "js") //dynamically load and add this .js file
		loadjscssfile(LOGIN_ROOT+"gb_styles_ex.css", "css") ////dynamically load and add this .css file

