function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function mmLoadMenus() {
  if (window.mm_menu_0519005546_0) return;
  window.mm_menu_0519005546_0 = new Menu("root",121,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519005546_0.addMenuItem("About&nbsp;Instructor","window.open('about_instructor.html', '_self');");
  mm_menu_0519005546_0.addMenuItem("Contact&nbsp;Us","window.open('contact_us.html', '_self');");
  mm_menu_0519005546_0.addMenuItem("Join&nbsp;Mailing&nbsp;List","window.open('join_mailing_list.html', '_self');");
  mm_menu_0519005546_0.addMenuItem("Link&nbsp;To&nbsp;Us","window.open('resources.html', '_self');");
   mm_menu_0519005546_0.fontWeight="bold";
   mm_menu_0519005546_0.hideOnMouseOut=true;
   mm_menu_0519005546_0.menuBorder=1;
   mm_menu_0519005546_0.menuItemBorder=1;
   mm_menu_0519005546_0.menuLiteBgColor='#666666';
   mm_menu_0519005546_0.menuBorderBgColor='#ffffff';
   mm_menu_0519005546_0.bgColor='#ffffff';
  window.mm_menu_0519005855_1 = new Menu("root",130,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519005855_1.addMenuItem("Manga&nbsp;Girls","window.open('manga_girls.html', '_self');");
  mm_menu_0519005855_1.addMenuItem("Manga&nbsp;Boys","window.open('manga_boys.html', '_self');");
   mm_menu_0519005855_1.fontWeight="bold";
   mm_menu_0519005855_1.hideOnMouseOut=true;
   mm_menu_0519005855_1.menuBorder=1;
   mm_menu_0519005855_1.menuItemBorder=1;
   mm_menu_0519005855_1.menuLiteBgColor='#666666';
   mm_menu_0519005855_1.menuBorderBgColor='#ffffff';
   mm_menu_0519005855_1.bgColor='#ffffff';
  window.mm_menu_0519010234_2 = new Menu("root",120,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519010234_2.addMenuItem("Drawing&nbsp;Adults","window.open('general_adults.html', '_self');");
  mm_menu_0519010234_2.addMenuItem("Drawing&nbsp;Kids","window.open('general_kids.html', '_self');");
  mm_menu_0519010234_2.addMenuItem("Cartoon&nbsp;Animals","window.open('general_animals.html', '_self');");
   mm_menu_0519010234_2.fontWeight="bold";
   mm_menu_0519010234_2.hideOnMouseOut=true;
   mm_menu_0519010234_2.menuBorder=1;
   mm_menu_0519010234_2.menuItemBorder=1;
   mm_menu_0519010234_2.menuLiteBgColor='#666666';
   mm_menu_0519010234_2.menuBorderBgColor='#ffffff';
   mm_menu_0519010234_2.bgColor='#ffffff';
  window.mm_menu_0519010459_3 = new Menu("root",145,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519010459_3.addMenuItem("Coloring&nbsp;Techniques","window.open('specialty_coloring_techniques.html', '_self');");
   mm_menu_0519010459_3.fontWeight="bold";
   mm_menu_0519010459_3.hideOnMouseOut=true;
   mm_menu_0519010459_3.menuBorder=1;
   mm_menu_0519010459_3.menuItemBorder=1;
   mm_menu_0519010459_3.menuLiteBgColor='#666666';
   mm_menu_0519010459_3.menuBorderBgColor='#ffffff';
   mm_menu_0519010459_3.bgColor='#ffffff';
  window.mm_menu_0519010645_4 = new Menu("root",145,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519010645_4.addMenuItem("Innocent&nbsp;Manga&nbsp;Girl","window.open('manga_girls.html#innocent_manga_girl', '_self');");
  mm_menu_0519010645_4.addMenuItem("Manga&nbsp;Girl&nbsp;Kneeling","window.open('manga_girls.html#manga_girl_kneeling', '_self');");
  mm_menu_0519010645_4.addMenuItem("Happy&nbsp;Bull","window.open('general_animals.html#happy_bull', '_self');");
  mm_menu_0519010645_4.addMenuItem("Boy&nbsp;Wielding&nbsp;Sword","window.open('manga_boys.html#boy_wielding_sword', '_self');");
  mm_menu_0519010645_4.addMenuItem("Dancing&nbsp;Bunny","window.open('general_animals.html#dancing_bunny', '_self');");
  mm_menu_0519010645_4.addMenuItem("Army&nbsp;Fighter","window.open('manga_boys.html#army_fighter', '_self');");
  mm_menu_0519010645_4.addMenuItem("Squirrely&nbsp;Love","window.open('general_animals.html#squirrely_love', '_self');");
   mm_menu_0519010645_4.fontWeight="bold";
   mm_menu_0519010645_4.hideOnMouseOut=true;
   mm_menu_0519010645_4.menuBorder=1;
   mm_menu_0519010645_4.menuItemBorder=1;
   mm_menu_0519010645_4.menuLiteBgColor='#666666';
   mm_menu_0519010645_4.menuBorderBgColor='#ffffff';
   mm_menu_0519010645_4.bgColor='#ffffff';
    window.mm_menu_0519010943_5_1 = new Menu("Cartoon&nbsp;Fonts",159,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
    mm_menu_0519010943_5_1.addMenuItem("Comic&nbsp;Balloon&nbsp;Fonts","window.open('fonts_comic_balloon.html', '_self');");
    mm_menu_0519010943_5_1.addMenuItem("Sound&nbsp;Effects&nbsp;Fonts","window.open('fonts_sound_effects.html', '_self');");
    mm_menu_0519010943_5_1.addMenuItem("Famous&nbsp;Cartoon&nbsp;Fonts","window.open('fonts_famous_cartoon.html', '_self');");
    mm_menu_0519010943_5_1.addMenuItem("Disney&nbsp;Fonts","window.open('fonts_disney.html', '_self');");
     mm_menu_0519010943_5_1.fontWeight="bold";
     mm_menu_0519010943_5_1.hideOnMouseOut=true;
     mm_menu_0519010943_5_1.menuBorder=1;
     mm_menu_0519010943_5_1.menuItemBorder=1;
     mm_menu_0519010943_5_1.menuLiteBgColor='#666666';
     mm_menu_0519010943_5_1.menuBorderBgColor='#ffffff';
     mm_menu_0519010943_5_1.bgColor='#ffffff';
  window.mm_menu_0519010943_5 = new Menu("root",149,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519010943_5.addMenuItem("Free&nbsp;Drawing&nbsp;Lesson","window.open('general_animals.html', '_self');");
  mm_menu_0519010943_5.addMenuItem("Puzzle&nbsp;Games","window.open('free_puzzle_games.html', '_self');");
  mm_menu_0519010943_5.addMenuItem("Desktop&nbsp;Wallpapers","window.open('free_desktop_wallpapers.html', '_self');");
  mm_menu_0519010943_5.addMenuItem("Coloring&nbsp;Pages","window.open('free_coloring_pages.html', '_self');");
  mm_menu_0519010943_5.addMenuItem(mm_menu_0519010943_5_1);
   mm_menu_0519010943_5.fontWeight="bold";
   mm_menu_0519010943_5.hideOnMouseOut=true;
   mm_menu_0519010943_5.childMenuIcon="navigation/arrows.gif";
   mm_menu_0519010943_5.menuBorder=1;
   mm_menu_0519010943_5.menuItemBorder=1;
   mm_menu_0519010943_5.menuLiteBgColor='#666666';
   mm_menu_0519010943_5.menuBorderBgColor='#ffffff';
   mm_menu_0519010943_5.bgColor='#ffffff';
  window.mm_menu_0519011220_6 = new Menu("root",106,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519011220_6.addMenuItem("Art&nbsp;Supplies","window.open('store_art_supplies.html', '_self');");
  mm_menu_0519011220_6.addMenuItem("Cartoon&nbsp;Gifts","window.open('store_cartoon_gifts.html', '_self');");
   mm_menu_0519011220_6.fontWeight="bold";
   mm_menu_0519011220_6.hideOnMouseOut=true;
   mm_menu_0519011220_6.menuBorder=1;
   mm_menu_0519011220_6.menuItemBorder=1;
   mm_menu_0519011220_6.menuLiteBgColor='#666666';
   mm_menu_0519011220_6.menuBorderBgColor='#ffffff';
   mm_menu_0519011220_6.bgColor='#ffffff';
  window.mm_menu_0519011317_7 = new Menu("root",149,21,"Verdana, Arial, Helvetica, sans-serif",11,"#ffff00","#00ff00","#000000","#000000","left","middle",3,0,1000,-5,7,true,true,true,3,true,true);
  mm_menu_0519011317_7.addMenuItem("Cartoon&nbsp;Blog","window.open('blog.html', '_self');");
  mm_menu_0519011317_7.addMenuItem("Cartoon&nbsp;Conferences","window.open('cartoon_conferences.html', '_self');");
  mm_menu_0519011317_7.addMenuItem("Artists&nbsp;Gallery","window.open('artists_gallery.html', '_self');");
  mm_menu_0519011317_7.addMenuItem("Fun&nbsp;Links","window.open('fun_links.html', '_self');");
  mm_menu_0519011317_7.addMenuItem("Link&nbsp;To&nbsp;Us","window.open('resources.html', '_self');");
   mm_menu_0519011317_7.fontWeight="bold";
   mm_menu_0519011317_7.hideOnMouseOut=true;
   mm_menu_0519011317_7.menuBorder=1;
   mm_menu_0519011317_7.menuItemBorder=1;
   mm_menu_0519011317_7.menuLiteBgColor='#666666';
   mm_menu_0519011317_7.menuBorderBgColor='#ffffff';
   mm_menu_0519011317_7.bgColor='#ffffff';

  mm_menu_0519011317_7.writeMenus();
} // mmLoadMenus()

function mailpage()
{
mail_str = "mailto:?subject=Check out this " + document.title + " page!";
mail_str += "&body=I thought you might be interested in this " + document.title + " page";
mail_str += ". You can view it at, " + location.href; 
location.href = mail_str;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function newWin(link,w,h,s,r) {
  var winFeatures = 'width=' + w + ',height=' + h + ',scrollbars=' + s + ',resizable=' + r;
  var bookWindow = window.open(link, "", winFeatures); 
}

function MM_CheckFlashVersion(reqVerStr,msg){
  with(navigator){
    var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
    var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
    if (!isIE || !isWin){  
      var flashVer = -1;
      if (plugins && plugins.length > 0){
        var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
        desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
        if (desc == "") flashVer = -1;
        else{
          var descArr = desc.split(" ");
          var tempArrMajor = descArr[2].split(".");
          var verMajor = tempArrMajor[0];
          var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
          var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
          flashVer =  parseFloat(verMajor + "." + verMinor);
        }
      }
      // WebTV has Flash Player 4 or lower -- too low for video
      else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

      var verArr = reqVerStr.split(",");
      var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
  
      if (flashVer < reqVer){
        if (confirm(msg))
          window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
    }
  } 
}