<!-- 
	if (top.location !=self.location) {
			top.location=self.location
	}
	
	dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	
	monName = new Array ("January","February","March","April","May","June","July","August","September","October","November","December");
	
	now = new Date;
				
	if (document.images) {
	
		homeOn = new Image;
		homeOff = new Image;
		servicesOn = new Image;
		servicesOff = new Image;
		productsOn = new Image;
		productsOff = new Image;
		portfolioOn = new Image;
		portfolioOff = new Image;
		blogOn = new Image;
		blogOff = new Image;
		contactOn = new Image;
		contactOff = new Image;
		
		homeOn.src = "http://www.sababuland.com/images/homebutton.gif";
		homeOff.src = "http://www.sababuland.com/images/homeoffbutton.gif";
		servicesOn.src = "http://www.sababuland.com/images/servicesbutton.gif";
		servicesOff.src = "http://www.sababuland.com/images/servicesoffbutton.gif";
		productsOn.src = "http://www.sababuland.com/images/productsbutton.gif";
		productsOff.src = "http://www.sababuland.com/images/productsoffbutton.gif";
		portfolioOn.src = "http://www.sababuland.com/images/portfoliobutton.gif";
		portfolioOff.src = "http://www.sababuland.com/images/portfoliooffbutton.gif";
		blogOn.src = "http://www.sababuland.com/images/blogbutton.gif";
		blogOff.src = "http://www.sababuland.com/images/blogoffbutton.gif";
		contactOn.src = "http://www.sababuland.com/images/contactbutton.gif";
		contactOff.src = "http://www.sababuland.com/images/contactoffbutton.gif";
	}
	
	function chgImg(imgField,newImg) {
		if (document.images) {
			document[imgField].src = eval(newImg + ".src")
		}
	}	
			
	function setlight(){
		dsImg.filters("light").addPoint(52, 52, 75, 255, 255, 255, 100);
	}
	
	function run(){
		eX = event.offsetX;
		eY = event.offsetY;
	
		xCoordinate = Math.round(eX-event.srcElement.width / 2, 0);
		yCoordinate = Math.round(eY-event.srcElement.height / 2, 0);
	
		dsImg.filters("dropshadow").offx = xCoordinate / -3;
		dsImg.filters("dropshadow").offy = yCoordinate / -3;
	
		dsImg.filters("light").moveLight(0, eX, eY, 75, 1);
	}
	
	function showTheHours(theHour) { 
		if (theHour > 0 && theHour < 13){
			return (theHour)
		}
	
		if (theHour==0) {
			return (12)
		}
		return (theHour-12)
	}
	
	function showZeroFilled(inValue) {
		if (inValue > 9) {
			return ":" + inValue
		}
		return ":0" + inValue
	}
	
	function showAmPm() {
		if (now.getHours() < 12) {
			return (" AM")
		}
		return (" PM")
	}
	
	function showTheTime() {
		now=new Date
	
		document.theForm.showTime.value=showTheHours(now.getHours()) + showZeroFilled(now.getMinutes()) + showZeroFilled(now.getSeconds()) + showAmPm()
	
		setTimeout("showTheTime()",1000)
	}
	
	function ieTest(){
		if (navigator.appName == "Microsoft Internet Explorer"){
			smallWin.style.overflow = "hidden";
		}
	}
	
	function ieTest2(){
		if (navigator.appName == "Microsoft Internet Explorer"){
			smallWin.style.overflow = "hidden";
			smallWin2.style.overflow = "hidden";
		}
	}
	
	function isNum(passedVal){
		if(passedVal == ""){
			return false
		}
		for(i=0; i < passedVal.length; i++){
			if (passedVal.charAt(i) < "0"){
				return false
			}
			if (passedVal.charAt(i) > "9"){
				return false
			}
		}
		return true
	}
	
	function validZip(inZip){
		if(inZip == ""){
			return true
		}
		if(isNum(inZip)){
			return true
		}
		return false
	}
	
	function validEmail(email){
		invalidChars = " /:,;"
		
		if(email == ""){
			return false
		}
		for(i=0; i < invalidChars.length; i++){
			badChar = invalidChars.charAt(i)
			if(email.indexOf(badChar,0) > -1){
				return false
			}
		}
		atPos = email.indexOf("@",1)
		if(atPos == -1){
			return false
		}
		if(email.indexOf("@",atPos+1) > -1) {
			return false
		}
		periodPos = email.indexOf(".",atPos)
		if(periodPos == -1){
			return false
		}
		if(periodPos+3 > email.length){
			return false
		}
		return true
	}
	
	function submitIt(contactform){
		if(contactform.first.value == ""){
			alert("You must enter a first name")
			
			contactform.first.focus()
			return false
		}
		
		if(contactform.last.value == ""){
			alert("You must enter a last name")
			
			contactform.last.focus()
			return false
		}
		
		if(contactform.address.value == ""){
			alert("You must enter a street address")
			
			contactform.address.focus()
			return false
		}
		
		if(contactform.city.value == ""){
			alert("You must enter a city name")
			
			contactform.city.focus()
			return false
		}
	
		if(contactform.state.value == ""){
			alert("You must enter a state name")
			
			contactform.state.focus()
			return false
		}
	
		if(contactform.zip.value == ""){
			alert("You must enter a Zip code")
			
			contactform.zip.focus()
			return false
		}
		
		if(!validZip(contactform.zip.value)){
			alert("That is an invalid Zip code")
			
			contactform.zip.focus()
			contactform.zip.select()
			return false
		}
		
		if(!validEmail(contactform.email.value)){
			alert("Invalid email address")
			
			contactform.email.focus()
			contactform.email.select()
			return false
		}
		if(contactform.areacode.value == ""){
			alert("You must enter an areacode")
			
			contactform.areacode.focus()
			return false
		}
		
		if(contactform.phone1.value == ""){
			alert("You must enter the first three digits of your phone number")
			
			contactform.phone1.focus()
			return false
		}
		
		if(contactform.phone2.value == ""){
			alert("You must enter the last four digits of your phone number")
			
			contactform.phone2.focus()
			return false
		}
		return true
	}
	
	
	var servicesMenu = new Array()
		servicesMenu[0]='<a href="http://www.sababuland.com/services/index.html#web" onMouseOver="window.status=\'Webpage Designs Services &amp; Tools\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Webpage Designs Services &amp; Tools"><div class="dropmenu">Webpage Designs</div></a>' 
		servicesMenu[1]='<a href="http://www.sababuland.com/services/index.html#desk" onMouseOver="window.status=\'Desktop Publishing Services &amp; Tools\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Desktop Publishing Services &amp; Tools"><div class="dropmenu">Desktop Publishing</div></a>' 
		servicesMenu[2]='<a href="http://www.sababuland.com/services/index.html#dvd_cd" onMouseOver="window.status=\'DVD &amp; CD Creations Services &amp; Tools\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="DVD &amp; CD Services &amp; Tools"><div class="dropmenu">DVD &amp; CD Creations</div></a>'
		servicesMenu[3]='<a href="http://www.sababuland.com/services/index.html#tutoring" onMouseOver="window.status=\'Technology Seminars Services &amp; Lessons\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Technology Seminars Services &amp; Lessons"><div class="dropmenu">Technology Seminars</div></a>' 
		servicesMenu[4]='<a href="http://www.sababuland.com/services/links.html"  onMouseOver="window.status=\'Online Resources\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Online Resources"><div class="dropmenu">Online Resources</div></a>'
	var productsMenu = new Array()
		productsMenu[0] = '<a href="https://www.sababuland.com/products/index.html#dvd" onMouseOver="window.status=\'Movies &amp; Live Production DVDs\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Movies &amp; Live Production DVDs"><div class="dropmenu2">Movies</div></a>'
		productsMenu[1] = '<a href="https://www.sababuland.com/products/index.html#cd" onMouseOver="window.status=\'Music CDs &amp; Soundtracks\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Music CDs &amp; Soundtracks"><div class="dropmenu2">Music</div></a>'
		
	var portfolioMenu = new Array()
		portfolioMenu[0]='<a href="http://www.sababuland.com/portfolio/index.html#web" onMouseOver="window.status=\'Webpage Designs Portfolio\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Webpage Designs Portfolio"><div class="dropmenu">Webpage Designs</div></a>' 
		portfolioMenu[1]='<a href="http://www.sababuland.com/portfolio/index.html#desk" onMouseOver="window.status=\'Desktop Publishing Portfolio\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="Desktop Publishing Portfolio"><div class="dropmenu">Desktop Publishing</div></a>'  
		portfolioMenu[2]='<a href="http://www.sababuland.com/portfolio/index.html#dvd_cd"  onMouseOver="window.status=\'DVD &amp; CD Creations Portfolio\';playSound(\'clickSound\'); return true" onMouseOut="window.status=\'\';stopSound(\'clickSound\'); return true" title="DVD &amp; CD Creations Portfolio"><div class="dropmenu">DVD &amp; CD Creations</div></a>'
		
		
					
	var menubgcolor = '#ffcc3c';
	var menuwidth = '127px';
	var disappeardelay = 250;
	var hidemenu_onclick = "yes";
	
	var ie4 = document.all;
	var ns6 = document.getElementById && !document.all;
	
	if(ie4 || ns6) {
		document.write('<div id="mainMenu" style="visibility: hidden; width: ' + menuwidth + '; background-color: ' + menubgcolor + '; text-align: center;" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
	}
	
	function getposOffset(what, offsettype) {
		var totaloffset = (offsettype == "left") ? what.offsetLeft : what.offsetTop;
		var parentEl = what.offsetParent;
		while (parentEl != null) {
			totaloffset = (offsettype == "left") ? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
			parentEl = parentEl.offsetParent;
		}
		return totaloffset;
	}
		
	function showhide(obj, e, visible, hidden, menuwidth){
		if(ie4 || ns6) {
			dropmenuobj.style.left = dropmenuobj.style.top=-500
		}
		
		if (menuwidth != "") {
			dropmenuobj.widthobj = dropmenuobj.style
			dropmenuobj.widthobj.width = menuwidth
		}
		
		if (e.type == "click" && obj.visibility == hidden || e.type == "mouseover") {
			obj.visibility = visible
		}
		else if (e.type == "click") {
				obj.visibility = hidden
		}
	}
	
	function iecompattest() {
		return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body 
	}
	
	function clearbrowseredge(obj, whichedge) {
		var edgeoffset = 0
		
		if (whichedge == "rightedge") {
			var windowedge = ie4 & !window.opera ? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
			dropmenuobj.contentmeasure = dropmenuobj.offsetWidth
			
			if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure) {
				edgeoffset = dropmenuobj.contentmeasure-obj.offsetWidth
			}
		}
		else {
			var windowedge = ie4 && !window.opera ? iecompattest().scrollTop + iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
			dropmenuobj.contentmeasure = dropmenuobj.offsetHeight
			
			if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure) {
				edgeoffset = dropmenuobj.contentmeasure+obj.offsetHeight
			}
		}
		return edgeoffset
	}
	
	function populatemenu(what) {
		if (ie4 || ns6) {
			dropmenuobj.innerHTML = what.join("")
		}
	}
	
	function dropdownmenu(obj, e, menucontents, menuwidth) {
		if (window.event) {
			event.cancelBubble = true
		}
		else if (e.stopPropagation) {
				e.stopPropagation()
		}
		
		clearhidemenu()
		dropmenuobj = document.getElementById ? document.getElementById("mainMenu") : mainMenu
		populatemenu(menucontents)
		
		if (ie4 || ns6) {
			showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth) 
			dropmenuobj.x = getposOffset(obj, "left")
			dropmenuobj.y = getposOffset(obj, "top")
			dropmenuobj.style.left = dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
			dropmenuobj.style.top = dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
		}
		return true
	}
	
	function contains_ns6(a, b) {
		while (b.parentNode) {
			if ((b = b.parentNode) == a) {
				return true;
			}
			return false;
		}
	}
	
	function dynamichide(e) {
		if (ie4 && !dropmenuobj.contains(e.toElement)) {
			delayhidemenu()
		}
		else if (ns6 && e.currentTarget != e.relatedTarget && !contains_ns6(e.currentTarget, e.relatedTarget)) {
				delayhidemenu()
		}
	}
	
	function hidemenu(e) {
		if (typeof dropmenuobj != "undefined") {
			if (ie4 || ns6) {
				dropmenuobj.style.visibility = "hidden"
			}
		}
	}
	
	function delayhidemenu(){
		if (ie4 || ns6) {
			delayhide = setTimeout("hidemenu()", disappeardelay)
		}
	}
	
	function clearhidemenu(){
		if (typeof delayhide != "undefined") {
			clearTimeout(delayhide)
		}
	}
	
	if (hidemenu_onclick == "yes") {
		document.onclick = hidemenu
	}
	
	var snakeSound = "http://www.sababuland.com/audio/snakehiss2edit.wav";
	var clickSound = "http://www.sababuland.com/audio/start.wav";
			
	if(document.all) {
		Str = '<div id="1" style="position: absolute;">';
		Str += '<embed name="ctrlsnakeSound" src="' + snakeSound + '" type = "audio/wav" autostart = "false" hidden = "true" loop = "false"></embed>';
		Str += '<embed name="ctrlclickSound" src="' + clickSound + '" type = "audio/wav" autostart = "false" hidden = "true" loop = "false"></embed>';
		Str += '</div>';
		
		document.write(Str);
	}
	
	function playSound(which) {
		document.embeds['ctrl' + which].play();
	}
	
	function stopSound(which) {
		document.embeds['ctrl' + which].stop();
	}
	
	google_ad_client = "pub-2483118194642758";
	google_ad_width = 120;
	google_ad_height = 240;
	google_ad_format = "120x240_as";
	google_ad_type = "text_image";
	google_ad_channel ="";
	google_color_border = "009900";
	google_color_bg = "FFCC3C";
	google_color_link = "006600";
	google_color_text = "003300";
	google_color_url = "009900";
						
-->