	IG.util.Site = {
			Locale : (gE("locale"))?gE("locale").getAttribute("content").toLowerCase():'en_GB',
			SoftId : (gE("softid"))?gE("softid").getAttribute("content").toLowerCase():null,
			DealerPath : (gE("dealer_path"))?gE("dealer_path").getAttribute("content").toLowerCase():null,
			DVer : (gE("dver"))?gE("dver").getAttribute("content").toLowerCase():null,
			Page : window.location.pathname.substring(window.location.pathname.lastIndexOf('/') + 1),
			convertCode : function(s) { 
					s = s.replace(/&#(\d{3});/g,function(r,r1) {return String.fromCharCode(r1);});
					s = s.replace(/&#(\d{4});/g,function(r,r1) {return String.fromCharCode(r1);});
					return s.replace(/&#(\d{5});/g,function(r,r1) {return String.fromCharCode(r1);});
				},
			environment : ((/^http:\/\/([^.\/$]*)./.test(d.location.href)) && (RegExp.$1 == "net" || RegExp.$1 == "web" || RegExp.$1 == "new" || RegExp.$1 == "www" || RegExp.$1 == "staging"))? RegExp.$1 : null,
			getEventTarget : function(e) {
				 e = e || window.event;
				 var targ = e.target || e.srcElement;
				 if (targ.nodeType == 3) { // defeat Safari bug
							targ = targ.parentNode;
				 }
				 return targ;
			},
			goTo : function(s){
				if(document.selectLanguage){
					var of = document.selectLanguage;
					of.action = s;
					of.submit();
				} else {
					window.location.href = s;
				}
			},
			onload: function(){
				IG.util.Site.Id = gT("body")[0].id;
				IG.util.Site.Title = gT("title")[0].innerHTML;
				IG.util.Site.Body = gT("body")[0];
			}
	};
	
	
	/*
	   ********   			LOCAL SETTINGS 				********
		**																	**
		**			EVERYTHING BELOW NEEDS TO BE UPDATED 		**
		**																	**
	   ********   												********
	*/

	IG.util.OpenPopUp = 	function(s, t){
		var win;
		var pup = IG.util.PopUp;
		var browser = IG.util.Browser;
		switch(t) {
			case "press":
				win = pup.openWindow(s, "Press Release", 606, 532, 0, 0, 0, false);
				break;
			default:
				win = pup.openWindow(s, "Popup", 640, 480, 0, 0, 0, false);
				break;
		}
	};

		
 	IG.util.slideImages = [["/img/puredeal_software_01.jpg", "", ""],["/img/puredeal_software_02.jpg", "", ""],["/img/puredeal_software_03.jpg", "", ""]];


/* Created By Peter Mouland
   Put anything to do with individual schemas in here
	They will be initialised from ig_util.js onLoad
*/
IG.util.schemas = {
	
	init: function(){
		//Do Nothing
	}
	
};
