//disable_outline();

function OpenMaxWindow(_url, _folder){
  maxWin = window.open(_url,'houyhnhnm','toolbar=no,menubar=no,location=no,status=no,scrollbars=no,resizable=yes');
  maxWin.moveTo(0,0);
  maxWin.resizeTo(screen.availWidth,screen.availHeight);
  maxWin.focus();
  urchinTracker(_folder);
}

function OpenFlexWindow(url,folder,width,height) {
 var features="location=no, menubar=no, status=no, scrollbars=yes, resizable=yes, toolbar=no";
 if (width) {
  if (window.screen.width > width)
   features+=", left="+(window.screen.width-width)/2;
  else width=window.screen.width;
  features+=", width="+width;
 }
 if (height) {
  if (window.screen.height > height)
   features+=", top="+(window.screen.height-height)/2;
  else height=window.screen.height;
  features+=", height="+height;
 }
	flexWin = window.open(url,'houyhnhnm',features);
	flexWin.focus();
  urchinTracker(folder);
}


function SetTracking(_url, _folder, _target){
  if (_target == 0) {
	  location.href=_url;
  }
  else {
	  otherWin = window.open(_url);
	  otherWin.focus();
  }
  //urchinTracker(_folder);
}

function disable_outline() {
	var objLink = document.links;
	for(i = 0; i < objLink.length; i++) {
		objLink[i].onfocus = function() { this.blur(); };
	}
}

