function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=710,height=510");
}
function Start2(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars=no,resize=no,width=548,height=807");
}

function EmbedFlash(URL, width, height, menu, quality, flash, transparency){
 //Is version nuber entered.
 if(flash == null){
  flash = "7,0,19,0"; //Replace with default version number. Default = 6,0,0,0.
 }
 
 //Checks if the menu constance is entered (correctly)
 if(menu != true && menu != false && menu != "true" && menu != "false"){
  menu = true; //Replace with default. Default = true.
 }
 
 //Checks if the quality constance is entered (correctly)
 if(quality != "high" && quality != "normal" && quality != "low"){
  quality = "best"; //Replace with default. Defautl = high.
 }
 
 //See if we can continue. 
 if(URL == null || width == null || height == null){
  //Nope, we can't.
  document.writeln("No URL, width or height entered");
 }else{
  //Add the code to the document.
  document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="' + flash + '" width="' +  width + '" height="' + height + '">');
  document.writeln('<param name="movie" value="' + URL + '" />');
  document.writeln('<param name="quality" value="' + quality + '" />');
  document.writeln('<param name="menu" value="' + menu + '" />');
  addtrans="";
  if(transparency==true)
  {
  document.writeln('<param name="wmode" value="transparent" />');
  addtrans = " wmode=\"transparent\" ";
  }
  document.writeln('<embed src="' + URL + '" quality="' + quality + '" menu="' + menu + '"' + addtrans + 'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' +  width + '" height="' + height + '"></embed></object>');
 }
}


/* JQUERY */

/*********************
//* jQuery Multi Level CSS Menu #2- By Dynamic Drive: http://www.dynamicdrive.com/
//* Last update: Nov 7th, 08': Limit # of queued animations to minmize animation stuttering
//* Menu avaiable at DD CSS Library: http://www.dynamicdrive.com/style/
*********************/

//Specify full URL to down and right arrow images (23 is padding-right to add to top level LIs with drop downs):
var arrowimages={down:['downarrowclass', 'http://www.ismakogie.nl/images/trans.gif', 0], right:['rightarrowclass', 'http://www.ismakogie.nl/images/trans.gif']}

var jqueryslidemenu={

animateduration: {over: 200, out: 100}, //duration of slide in/ out animation, in milliseconds

buildmenu:function(menuid, arrowsvar){
	jQuery(document).ready(function($){
		var $mainmenu=$("#"+menuid+">ul")
		var $headers=$mainmenu.find("ul").parent()
		$headers.each(function(i){
			var $curobj=$(this)
			var $subul=$(this).find('ul:eq(0)')
			this._dimensions={w:this.offsetWidth, h:this.offsetHeight, subulw:$subul.outerWidth(), subulh:$subul.outerHeight()}
			this.istopheader=$curobj.parents("ul").length==1? true : false
			$subul.css({top:this.istopheader? this._dimensions.h+"px" : 0})
			$curobj.children("a:eq(0)").css(this.istopheader? {paddingRight: arrowsvar.down[2]} : {}).append(
				'<img src="'+ (this.istopheader? arrowsvar.down[1] : arrowsvar.right[1])
				+'" class="' + (this.istopheader? arrowsvar.down[0] : arrowsvar.right[0])
				+ '" style="border:0;" />'
			)
			$curobj.hover(
				function(e){
					var $targetul=$(this).children("ul:eq(0)")
					this._offsets={left:$(this).offset().left, top:$(this).offset().top}
					var menuleft=this.istopheader? 0 : this._dimensions.w
					menuleft=(this._offsets.left+menuleft+this._dimensions.subulw>$(window).width())? (this.istopheader? -this._dimensions.subulw+this._dimensions.w : -this._dimensions.w) : menuleft
					if ($targetul.queue().length<=1) //if 1 or less queued animations
						$targetul.css({left:menuleft+"px", width:this._dimensions.subulw+'px'}).slideDown(jqueryslidemenu.animateduration.over)
				},
				function(e){
					var $targetul=$(this).children("ul:eq(0)")
					$targetul.slideUp(jqueryslidemenu.animateduration.out)
				}
			) //end hover
		}) //end $headers.each()
		$mainmenu.find("ul").css({display:'none', visibility:'visible'})
	}) //end document.ready
}
}

//build menu with ID="myslidemenu" on page:
jqueryslidemenu.buildmenu("myslidemenu", arrowimages);
