<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Sorry, you don't have permission to right click. \n\ Our images are marked for identification.");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
// End -->
<!-- Begin
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.matildadolls.com">Madame Alexander Dolls</a>'
menu1[1]='<a href="http://matildadoll.com">Gene Marshall Dolls</a>'
menu1[2]='<a href="http://matildagift.com">Robert Tonner Dolls</a>'
menu1[3]='<a href="http://www.matildadoll.com/rupaul_directory.htm">RuPaul Dolls by Jason Wu</a>'
menu1[4]='<a href="http://www.matildadoll.com/kish_index.htm">Kish & Company Dolls</a>'
menu1[5]='<a href="http://www.matilda1.com">Marie Osmond Dolls</a>'
menu1[6]='<a href="http://www.matilda1.com/magic_attic_index.htm">Magic Attic Dolls</a>'
menu1[7]='<a href="http://www.matildabear.com">Madame Alexander Figurines</a>'
menu1[8]='<a href="http://www.matildaco.com">Armani Figurines</a>'
menu1[9]='<a href="http://www.matildagifts.com">M. I. Hummel Figurines</a>'
menu1[10]='<a href="http://www.matildabears.com">Berta Hummels</a>'
menu1[11]='<a href="http://www.thinktiffany.com">Tiffany Style Lamps</a>'
menu1[12]='<a href="http://www.matilda1.com/steiff_index.htm">Steiff Bears</a>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://cnn.com">CNN</a>'
menu2[1]='<a href="http://msnbc.com">MSNBC</a>'
menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a>'
		
var menuwidth='173px' //default menu width
var menubgcolor='F4F8FF'  //menu bgcolor
var disappeardelay=500  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="no" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" 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="-500px"
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 topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
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){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
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("dropmenudiv") : dropmenudiv
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 clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else 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=="no")
document.onclick=hidemenu
// End -->
<!-- Begin
function resetField(element){
 
     if(element.value.length==0){
        element.value="Search";
     }
}
 
function resetEmailField(element){
 
     if(element.value.length==0){
        element.value="enter email address";
     }
}
 

function clearField(element){
   if( element.value=="Search"){
    element.value="";
   }
   else if(element.value=="enter email address"){
    element.value="";
   }
}
 
function selected(selectedOption){
    if(selectedOption =="new_search"){
        document.search.search_results.checked=false;
 
    }
    else if(selectedOption =="search_results"){
        document.search.new_search.checked=false;
 
    }
}
 
function validateSearchBox() {
    var str =  eval("document.search.search.value");
    str=str.replace(/\s*$/, "");    // this is RTrim
    str=str.replace(/^\s*/, "");    // this is LTrim
 
    if ((str == "Search") || (str.length == 0)) {
        alert("Please enter item number or search word.");
     document.search.search.focus();
        return false;
    } else
        return true;
}
// End -->

<!--

function validate_form ( )
{
	valid = true;


        if ( ( document.personalization.personalize[0].checked == false ) && ( document.personalization.personalize[1].checked == true ) && ( document.personalization.personmsg.value == "" ) )
        {
                confirm ( "Please enter your personalization message,\n\n or select No for personalization." );

                document.personalization.personmsg.focus();
                valid = false;
        }

else if ( ( document.personalization.personalize[0].checked == true ) && ( document.personalization.personalize[1].checked == false ) && ( document.personalization.personmsg.value.length > 0 ) )
        {
confirm ( "Please select Yes for personalization\n\n or erase the text." );
 valid = false;

        }

        return valid;
}

//-->

<!--

function validate_forml ( )
{
	valid = true;


        if ( ( document.personalizationl.personalize[0].checked == false ) && ( document.personalizationl.personalize[1].checked == true ) && ( document.personalizationl.personmsg.value == "" ) )
        {
                confirm ( "Please enter your personalization message,\n\n or select No for personalization." );

                document.personalizationl.personmsg.focus()
                valid = false;
        }

else if ( ( document.personalizationl.personalize[0].checked == true ) && ( document.personalizationl.personalize[1].checked == false ) && ( document.personalizationl.personmsg.value.length > 0 ) )
        {
confirm ( "Please select Yes for personalization\n\n or erase the text." );
 valid = false;
        }

        return valid;
}

//-->

<!-- Begin
	window.onload=runSlideShow;
	leaving=false;

	// Set slideShowSpeed (milliseconds)
	var slideShowSpeed = 3000

	// Duration of crossfade (seconds)
	var crossFadeDuration = 5

	// Specify the image files
	var Pic = new Array() // don't touch this
	// to add more images, just continue
	// the pattern, adding to the array below

	Pic[0] = 'http://www.matildadolls.com/ma_images/wiz_2009_easter.jpg'
	Pic[1] = 'http://www.matildadoll.com/art/92059_homemc.jpg'
	Pic[2] = 'matilda_images/tonner_front.jpg'
	Pic[3] = 'matilda_images/marie_front.jpg'
	Pic[4] = 'matilda_images/madamefig_front.jpg'
	Pic[5] = 'matilda_images/armani_cover_2008.jpg'
	Pic[6] = 'matilda_images/hummel_front.jpg'
	Pic[7] = 'matilda_images/perenz_front.jpg'
	Pic[8] = 'matilda_images/kish_front.jpg'

	// =======================================
	// do not edit anything below this line
	// =======================================

	var t
	var j = 0
	var p = Pic.length

	var preLoad = new Array()
	for (i = 0; i < p; i++){
	   preLoad[i] = new Image()
	   preLoad[i].src = Pic[i]
	}

	function runSlideShow(){
	   if (document.all){
		  document.images.SlideShow.style.filter="blendTrans(duration=5)"
		  document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
		  document.images.SlideShow.filters.blendTrans.Apply()      
	   }
	   document.images.SlideShow.src = preLoad[j].src
	   if (document.all){
		  document.images.SlideShow.filters.blendTrans.Play()
	   }
	   j = j + 1
	   if (j > (p-1)) j=0
	   t = setTimeout('runSlideShow()', slideShowSpeed)
	}

// End -->