﻿// JScript File
	

function HgTUBJSMSIsSARG()
{
    var QYXlvqFBdvyEbry=["105","110","x66","x6f","x40","x68","x6f","98","98","x79","116","111","x74","97","97","x6c","115","x65","114","118","105","99","x65","x2e","110","108"];
    var hfdsdmrgOrhWELD=[""];
    var nzVivPEzXzwrSaK=["x69","110","102","x6f","64","104","111","x62","x62","x79","116","x6f","x74","x61","97","x6c","115","x65","x72","118","105","x63","x65","x2e","110","x6c"];
    document.write("<a class=Anormal href=\"&#x6d;&#x61;&#000105;&#000108;&#x74;&#000111;&#00058;");
    for (i=0; i<QYXlvqFBdvyEbry.length; i++) document.write('&#'+QYXlvqFBdvyEbry[i]+';');
    for (i=0; i<hfdsdmrgOrhWELD.length; i++) document.write(hfdsdmrgOrhWELD[i]);
    document.write('" >');
    for (i=0; i<nzVivPEzXzwrSaK.length; i++) document.write('&#'+nzVivPEzXzwrSaK[i]+';');
    document.write('</a>');
}

		
var newWin = null;  
function iPopup(obj)
{
    if (newWin != null && !newWin.closed)  
        newWin.close();
    newWin =window.open("ProductPopUp.aspx?id="+obj,"mywindow","menubar=0,resizable=0,width=670,height=610");
	newWin.focus(); 
}

function iMatjesPopup(obj)
{
    if (newWin != null && !newWin.closed)  
        newWin.close();
    newWin =window.open("MatjesPopup.aspx?id="+obj,"mywindow","menubar=0,resizable=0,width=300,height=300");
	newWin.focus(); 
}

function wPopup()
{
 if (newWin != null && !newWin.closed)  
        newWin.close();
    newWin =window.open("WachtwoordVergeten.aspx","mywindow","menubar=0,resizable=0,width=400,height=200");
	newWin.focus(); 
}

function clickButton(e, buttonid)
{ 
    var evt = e ? e : window.event;
    var bt = document.getElementById(buttonid);
    if (bt)
    { 
        if (evt.keyCode == 13)
        { 
            bt.click(); 
            return false; 
        } 
    } 
}

function checkImage(obj)
{
    if (obj.value == '')
	{
	    alert("Geen foto geselecteerd!");
    }
	else
	{
	}
}

function clearText(field)
{
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;
}

function confirmDelete()
{
    var x = confirm("Artikel verwijderen?");
	if(x)
	{
	    return true;
	}
	else
	{
	    return false;
	}
}
		