function blockError(){return true;}
window.onerror = blockError;
//  End


// mypage, myname, w, h, scroll, resize //
function NewWindow(mypage, myname, w, h, scroll, resize) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resize
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//  End


/*BUTTON WIGGLE CODE*/
planpartywiggle=new Image(72,50) 
planpartywiggle.src="imgs/buttons/planaparty.gif" /*image moving*/
planpartystill=new Image(72,50)
planpartystill.src="imgs/buttons/planaparty1.gif" /*image still (1 frame)*/

entertainwiggle=new Image(72,50) 
entertainwiggle.src="imgs/buttons/entertainthekids.gif" /*image moving*/
entertainstill=new Image(72,50)
entertainstill.src="imgs/buttons/entertainthekids1.gif" /*image still (1 frame)*/

supplieswiggle=new Image(72,50) 
supplieswiggle.src="imgs/buttons/suppliestobuy.gif" /*image moving*/
suppliesstill=new Image(72,50)
suppliesstill.src="imgs/buttons/suppliestobuy1.gif" /*image still (1 frame)*/

learnhowwiggle=new Image(72,50) 
learnhowwiggle.src="imgs/buttons/learnhow.gif" /*image moving*/
learnhowstill=new Image(72,50)
learnhowstill.src="imgs/buttons/learnhow1.gif" /*image still (1 frame)*/

calendarwiggle=new Image(17,285) 
calendarwiggle.src="imgs/checkthewiz.gif" /*image moving*/
calendarstill=new Image(17,285)
calendarstill.src="imgs/checkthewiz1.gif" /*image still (1 frame)*/

showformwiggle=new Image(17,285) 
showformwiggle.src="imgs/thenrequest.gif" /*image moving*/
showformstill=new Image(17,285)
showformstill.src="imgs/thenrequest1.gif" /*image still (1 frame)*/

magicwiggle=new Image(72,50) 
magicwiggle.src="imgs/buttons/magic.gif" /*image moving*/
magicstill=new Image(72,50)
magicstill.src="imgs/buttons/magic1.gif" /*image still (1 frame)*/

balloonswiggle=new Image(72,50) 
balloonswiggle.src="imgs/buttons/sculptba.gif" /*image moving*/
balloonsstill=new Image(72,50)
balloonsstill.src="imgs/buttons/sculptba1.gif" /*image still (1 frame)*/

jokeswiggle=new Image(72,50) 
jokeswiggle.src="imgs/buttons/jokes.gif" /*image moving*/
jokesstill=new Image(72,50)
jokesstill.src="imgs/buttons/jokes1.gif" /*image still (1 frame)*/

jugglewiggle=new Image(72,50) 
jugglewiggle.src="imgs/buttons/juggle.gif" /*image moving*/
jugglestill=new Image(72,50)
jugglestill.src="imgs/buttons/juggle1.gif" /*image still (1 frame)*/

homewiggle=new Image(17,285) 
homewiggle.src="imgs/buttons/home.gif" /*image moving*/
homestill=new Image(17,285)
homestill.src="imgs/buttons/home1.gif" /*image still (1 frame)*/

birthdaywiggle=new Image(72,50) 
birthdaywiggle.src="imgs/buttons/birthday.gif" /*image moving*/
birthdaystill=new Image(72,50)
birthdaystill.src="imgs/buttons/birthday1.gif" /*image still (1 frame)*/

stagewiggle=new Image(72,50) 
stagewiggle.src="imgs/buttons/stage.gif" /*image moving*/
stagestill=new Image(72,50)
stagestill.src="imgs/buttons/stage1.gif" /*image still (1 frame)*/

strollingwiggle=new Image(72,50) 
strollingwiggle.src="imgs/buttons/strolling.gif" /*image moving*/
strollingstill=new Image(72,50)
strollingstill.src="imgs/buttons/strolling1.gif" /*image still (1 frame)*/

promowiggle=new Image(72,50) 
promowiggle.src="imgs/buttons/posters.gif" /*image moving*/
promostill=new Image(72,50)
promostill.src="imgs/buttons/posters1.gif" /*image still (1 frame)*/

homewiggle=new Image(72,50) 
homewiggle.src="imgs/buttons/home.gif" /*image moving*/
homestill=new Image(72,50)
homestill.src="imgs/buttons/home1.gif" /*image still (1 frame)*/

calendarwiggle=new Image(17,285) 
calendarwiggle.src="imgs/checkthewiz.gif" /*image moving*/
calendarstill=new Image(17,285)
calendarstill.src="imgs/checkthewiz1.gif" /*image still (1 frame)*/

showformwiggle=new Image(17,285) 
showformwiggle.src="imgs/thenrequest.gif" /*image moving*/
showformstill=new Image(17,285)
showformstill.src="imgs/thenrequest1.gif" /*image still (1 frame)*/


function filter(imagename,objectsrc){
if (document.images)
document.images[imagename].src=eval(objectsrc+".src")
}
// end


// Submit button must be clicked  
/*
function checkCR(evt) {
	var evt  = (evt) ? evt : ((event) ? event : null);
	var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
	if ((evt.keyCode == 13) && (node.type=="text")) {return false;}
	}

  document.onkeypress = checkCR;
*/
//end