/*----------------------------------------------------------------------------------------------------------------- */

/* JAVASCRIPT FUNCTIONS BEHIND GEMAKKELIJK ONLINE, PARTNER VAN NOWONLILNE DUIVEN BY DON*/
/*
 THESE FUCNTION ARE AVAILIBLE IN THIS FILE: 
	- TARGET=_BLANK FIX FOR VALID HTML
*/
/*----------------------------------------------------------------------------------------------------------------- */

/*----------------------------------------------------------------------------------------------------------------- */
/*SCRIPT FOR TARGET="_BLANK" TO FAKE,  FOR STRICT HTML TO BE VALID*/
function externalLinks() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (
			anchor.getAttribute("href") && ( 
			anchor.getAttribute("rel") == "external" || 
			anchor.getAttribute("rel") == "external nofollow" || 
			anchor.getAttribute("rel") == "nofollow external" )
			)
		anchor.target = "_blank";
	}
}
window.onload = function() {
	externalLinks();
}
/* END FUCNTION */
/*----------------------------------------------------------------------------------------------------------------- */

/*----------------------------------------------------------------------------------------------------------------- */
/*SEND EVERY FORMULIER*/
function sendform(contactform)
{
    if(Validate(contactform)){eval('document.' + contactform + '.submit();' )} 

}
/* END FUCNTION */
/*----------------------------------------------------------------------------------------------------------------- */


/*----------------------------------------------------------------------------------------------------------------- */
/*Control input fields*/
var formfunctions = new function()
{
    this.onfocus = function(Element)
    {
        if (Element.value.length == 0 || Element.value == Element.title || Element.title == "")
        {
        Element.title = Element.value;
        Element.alt = Element.value;
        Element.value = "";
        }
    }
    
    
    this.onblur = function(Element)
    {
        if (Element.value.length == 0 || Element.value == Element.title)
        {
            Element.value = Element.title
            Element.alt = ""
            Element.title = ""
        }
    }
}
/* END FUCNTION */
/*----------------------------------------------------------------------------------------------------------------- */


/* END JAVASCRIPT FILE */
