		//===========================================================================================================================
		//function that makes a request to the server using the xhr
		//===========================================================================================================================
		var http_request=false;
		
		function makeRequest(url)
		{
			http_request=false;
				if (window.XMLHttpRequest) { // Mozilla, Safari,...
				http_request = new XMLHttpRequest();
				if (http_request.overrideMimeType) {
					http_request.overrideMimeType('text/xml'); // Some versions of 
					//some Mozilla browsers won't work properly if the response from the server doesn't have an XML mime-type header
				}
			} else if (window.ActiveXObject) { // IE
				try {
					http_request = new ActiveXObject("Msxml2.XMLHTTP");
				} catch (e) {
					try {
						http_request = new ActiveXObject("Microsoft.XMLHTTP");
					} catch (e) {}
				}
			}
			if (!http_request) {
				alert('Giving up :( Cannot create an XMLHTTP instance');
				return false;
			}
			
			//On server response to your request execute the function CopyAtoB
			http_request.onreadystatechange = SetTitle;
			//http request type, url of requested page, asynchronous
			http_request.open('GET', url, true);
			//used for passing parameters to server if POST-ing the request. The data should be in the form of a query string, like: 
			//name=value&amp;anothername=othervalue&amp;so=on
			http_request.send(null);
		}
		//===========================================================================================================================
		//function that sets title of parent page to title of child fame -->
		//===========================================================================================================================
		function SetTitle()
		{
			if (http_request.readyState == 4) //4= complete
				{
					if (http_request.status == 200) //200= no problems with the request such as 404 page not found, etc
						{
							 document.title=frames['ifrm'].document.title;
						}
						else
						{
							alert('There was a problem with the request.');
						}
				}
		}
		
		
		//===========================================================================================================================
		//function that opens the links inside of the IFrame
		//===========================================================================================================================
		window.onload = myResize;
		window.onresize = myResize;
		function loadIframe(iframeName, url) {
		result=false;
		  if ( window.frames[iframeName] ) 
		  {
			window.frames[iframeName].location = url;
			result=false;
		  }
		  else
		  	result=true;
			return result;
			
		}
		
		//===========================================================================================================================
		//function that resizes the IFrame to fill the content area -->
		//===========================================================================================================================
		function myResize()
		{
		  var totalWidth;
		  if (document.documentElement && document.documentElement.clientWidth)
			totalWidth = document.documentElement.clientWidth;
		  else if (document.body)
			totalWidth = document.body.clientWidth;
			
		  document.getElementById("ifrm").style.width = (totalWidth - 200) + "px";
		}
		
		function SetBG(BG)
		{
				document.body.bgColor=BG;
				SetdpTC(BG);
		}
		
		function SetdpTC(BG)
		{
			var res=GQC_2006_v1.AjaxMethods.CreateTC(BG);
			document.getElementById("TC").innerHTML=res.value;
			parent.document.frames['ifrm'].document.body.style.color="#000000";
			document.body.style.color="#000000";
		}
		
		function SetTC(TC)
		{
			parent.document.frames['ifrm'].document.body.style.color=TC;
			document.body.style.color=TC;
		}
		
		function AjaxIt()
		{
			//SetBG('#FFF2F2');
			//var res=GQC_2006_v1.AjaxMethods.CreateBC();
			//document.getElementById("BC").innerHTML=res.value;
		}