/*
+------------------------------------------------------------------------------------------+
* COMPANY: Raven Developers 2009
+------------------------------------------------------------------------------------------+
* FILE INFO: Fixes IE (the biggest virus and worms explorer in the world) bugs, the lack of
* support for CSS 3.
+------------------------------------------------------------------------------------------+
* WEBSITE: http://www.ravendevelopers.com
+------------------------------------------------------------------------------------------+
* Portions created by Anirudh K. Mahant are Copyright of Raven Developers (C) 2009.
+------------------------------------------------------------------------------------------+
* COPYRIGHT NOTICE:
* The original author(s) retain all the copyrights of this file.
* Portions created by Anirudh K. Mahant (original developer) are Copyright of Raven Developers (C) 2009.
* Portions contains JavaScript framework jQuery developed by John Resig and other community members
* http://docs.jquery.com/About
* jQuery LICENSE:
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
+------------------------------------------------------------------------------------------+
*/
function pseudoFix(targetElements, psClass, hoverClass){
	jQuery(targetElements).each(function() {
		jQuery(this).addClass(psClass);
		if (hoverClass != null){
			jQuery(this).focus(function(){jQuery(this).addClass(hoverClass);});
			jQuery(this).blur(function(){jQuery(this).removeClass(hoverClass);});
		}
	});
}
jQuery(document).ready(function() {
	if (jQuery.browser.msie){
		jQuery("a.outline-none").focus(function() {
			jQuery(this).blur();
		});
		jQuery(".outline-none a").each(function() {
			jQuery(this).focus(function() {
				jQuery(this).blur();
			});
		});
		pseudoFix("div.populaire-content div:last-child", "mb0");
		pseudoFix("ul.producten-row li:last-child", "mr0");
		pseudoFix("div.maincontent input[type=text], div.maincontent input[type=password], div.maincontent textarea, div.maincontent select", "iefix1", "iefix1-hover");
		pseudoFix(".iw99 input[type='text'], .iw99 input[type='password'], .iw99 textarea, .iw99 select", "iefix2");
	}
});