// JavaScript Document

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function OpenURL () {
	var a=OpenURL.arguments; }

function MM_preloadImages() { //v3.0
  var d=document; 
  if(d.images){ 
  	if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; 
	for(i=0; i<a.length; i++)
    	if (a[i].indexOf("#")!=0){ 
			d.MM_p[j]=new Image; 
			d.MM_p[j++].src=a[i];
		}
  }
}

var restoreImage;


function SwapImage() { // Qty to swap,Image to swap1,Swap image1,Image to swap2,Swap image2,....
	var a,b;
	restoreImage=SwapImage.arguments; // loads arguments into reImage
	for(b=0;b<(restoreImage.length);b=b+2){
		a=restoreImage[b].src; // gets image to restore with Restore() function  
		restoreImage[b].src = restoreImage[b+1]; // swaps images
		restoreImage[b+1] = a; // sets restore image for Restore() function
	}
	
}
function Restore() {
	var b;
	for(b=0;b<(restoreImage.length);b=b+2){
		restoreImage[b].src = restoreImage[b+1];		
	}
}
