/*
ukcreditcardcentre.js  v. 1.00

Last modified: 7.20.2009

script to allow popup of approval critera

*/


function openApprovalWindow(theURL,winName,features) { //v2.0
var win = null;
win = window.open(theURL,winName,features);

if (!win) { 
alert('You have a popup blocker enabled. Please allow popups for http://www.uk-credit-card-centre.co.uk.  Please check under the status bar for more details');
}

} 


function closeApprovalWindow() { //v2.0
var browser=navigator.appName;
if (browser=="Microsoft Internet Explorer") {
  window.close();
  }
}


function closeApprovalWindowTest() { //v2.0
var browser=navigator.appName;
if (browser=="Microsoft Internet Explorer") {
	alert('We have IE, We have IE!!!!....');
  if (window.close())
  	alert('window.close() returns true....');
  }
}