// JavaScript Document
// Routines sourced from various places, some edited by Matzy

//Array.prototype.multiSort = function(index){ 
//// Written By: WillyDuitt@hotmail.com | 03-10-2005 \\;
// for(var i=0; i<this.length; i++){
//  var temp = this[i].splice(index,1);
//  this[i].unshift(temp);
//  } return this.sort();
//} 


function doReview(url,shopname){
 var w = 640;
 var h = 480;
 var l = (screen.width/2)-(w/2);
 var t = (screen.height/2)-(h/2);
 var opts = 'height='+h+', width='+w+', left='+l+', top='+t+', resizable=false, scrollbars=no, toolbar=no, menubar=no, location=no, status=no, directories=no'

 newwindow=window.open(url+'?Shop='+shopname+'','doReview',opts);
     if ( !newwindow.opener ){ newwindow.opener = self; }
	 if (window.focus) {newwindow.focus()}
}
