function flashObject(strFlash, intWidth, intHeight, strId, strWMode, strBGColor, strQuality, strAlign, strNoFlash) {
	document.write('<object type="application/x-shockwave-flash" data="'+strFlash+'" width="'+intWidth+'" height="'+intHeight+'">');
 	document.write('<param name="movie" value="'+strFlash+'" />');
 	document.write('<param name="wmode" value="'+strWMode+'" />');
 	document.write('<param name="quality" value="'+strQuality+'" />');
 	document.write(strNoFlash);
 	document.write('</object>'); 
}

$(function(){
	// anchors (external/popup)
	$("a[rel='external']").click(function(){window.open(this.href); return false});
});




/**
 * Image Overlay
 * 
 * @version 1.0.0
 * @author LzzL
 * 
 * jQuery 1.2.6
 */

$(function(){
	
// Browser indicator
	if ($.browser.mozilla && parseFloat($.browser.version))
	$("body").addClass("FireFox");	
	
	
	
	
/**
 * list items hover
 * 
 */
	// MouseOver effect op submit buttons
	$('input.txtLink').hover(function() {
  		$(this).addClass('txtLinkHover');
 	}, function() {
	  	$(this).removeClass('txtLinkHover');
 	}); 
	$('input.submit').hover(function() {
  		$(this).addClass('btnHover');
 	}, function() {
	  	$(this).removeClass('btnHover');
 	});	
	$('.forgetButton').click(function() {
	  	$('#forgetBox').toggle('slow');
	  	return false;
 	}); 
 	
	// div blokken linken
	$('div.highlight').hover(function() {
  		$(this).addClass('hover');
		$(this).find('a.leesMeer').addClass('hover');
 	}, function() {
	  	$(this).removeClass('hover');
		$(this).find('a.leesMeer').removeClass('hover');
 	});
	$('div.highlight').click(function(){
		sHref = $(this).find('a.leesMeer').attr('href');
		window.location.href = sHref;	
	});	
	$('div.highlight a').click(function(e){
		e.stopPropagation();
	});


	
	/**
	 * Voorstellingen list items
	 * 
	 */
	$('.highlight li').hover(function(){
		$(this).addClass('hover');
		$(this).find('a.leesMeer').addClass('hover');
	},function(){
		$(this).removeClass('hover');
		$(this).find('a.leesMeer').removeClass('hover');
	});

	$('.highlight li .txtLink').hover(function(){
		$(this).parents('li').find('a.leesMeer').removeClass('hover');
	},function(){
		$(this).parents('li').find('a.leesMeer').addClass('hover');
	});

	$('.highlight li').click(function(){
		sHref = $(this).find('a.leesMeer').attr('href');
		window.location.href = sHref;	
	});	
	
	/**
	 * account landenlijst insert divider
	 * 
	 */
	if($('#land').length > 0)
	{
		$('#land').html($('#land').html().replace('<option value="AFG">', '<option value="DIVIDER">&nbsp;---&nbsp;</option><option value="AFG">'));
	}
});
