<!--

function WM_preloadImages() {

  // Don't bother if there's no document.images
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

// -->

<!--

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  if(document.images){
    if (typeof(daImage) == 'string') {
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}
// -->

<!--
// javascript random rollover
			// written by Joe Maller, 1997
			// part of the "Simplest Possible JavaScripts" at
			// http://www.joemaller.com 
			// this is free to use, but please give me credit,
			// and let me know where it goes
			
				roller= new Array()
				roller[1]= new Image(182,174)
				roller[1].src ='http://www.octobertoys.com/images/logo1.jpg'
				roller[2]= new Image(182,174)
				roller[2].src ='http://www.octobertoys.com/images/logo2.jpg'
				
				showthis=0 				//prepares the repeat-preventing variable
				
				function RandomSwapOut() {		
				
										//the next three lines help prevent repeating images
										
						oldroller = new Array()
						oldroller[2] = oldroller[1]
						oldroller[1] = showthis
						
										//the next line chooses the number to use in selecting the image
						
						showthis = parseInt((Math.random()*(roller.length-1))+1);	
						
										//the next two lines help prevent repeating images
						
						if (showthis == oldroller[1]) {RandomSwapOut();}
						if (showthis == oldroller[2]) {RandomSwapOut();}
						
										//the next line replaces the image with the new, random image
						
						document.otlogo.src = roller[showthis].src; return true;	
				}


				function SwapBack() {		
					document.otlogo.src = "http://www.octobertoys.com/images/logo.jpg"; return true;	
				}
// -->

<!--

function shop() {
document.ps.src = "images/shop2.gif"; return true;
}

function projects() {
document.ps.src = "images/projects2.gif"; return true;
}

function original() {
document.ps.src = "images/projectsshop.gif"; return true;
}

// -->

<!--
var lhs = "info";
var rhs = "octobertoys.com";

function print_info_mail()
{
   document.write("<A HREF=\"mailto");
   document.write(":" + lhs + "@");
   document.write(rhs + "\">" + lhs + "@" + rhs + "<\/a>");
}
// -->

<!--
var ahs = "show";
var bhs = "gwinarmy.com";

function print_show_mail()
{
   document.write("<A HREF=\"mailto");
   document.write(":" + ahs + "@");
   document.write(bhs + "\">" + ahs + "@" + bhs + "<\/a>");
}
// -->
