// 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++)
			if(document.getElementById(show[i]))
				document.getElementById(show[i]).style.display = '';
	}
	
	if(hide!='null'){
		for(i=0; i<hide.length; i++)
			if(document.getElementById(hide[i]))
				document.getElementById(hide[i]).style.display = 'none';
	}
}
function confirmDel(idd)
{
	if(confirm('Do you want to delete this?'))
	{
		document.getElementById(idd).click();
	}
}   