// JavaScript Document

function preload(){ 
  var args = preload.arguments;
  document.imageArray = new Array(args.length);

  for(var i=0; i < args.length; i++){
    document.imageArray[i] = new Image();
    document.imageArray[i].src = args[i];
  }
}

function showHide(show,hide){
	
	show = show.split('#');
	hide = hide.split('#');
	
	
	if(show!='null'){
		for(i=0; i<show.length; i++)
			document.getElementById(show[i]).style.display = '';
	}
	
	if(hide!='null'){
		for(i=0; i<hide.length; i++)
			document.getElementById(hide[i]).style.display = 'none';
	}
}

function $(id)
{
	return document.getElementById(id);
}
