function popup(url, name, size_and_location, attributes) {
	
	var tokArray1 = size_and_location.split(";");
	var bef = "";

	if (typeof tokArray1[0] !="undefined") { bef = bef + "width=" + tokArray1[0]; }
	if (typeof tokArray1[1] !="undefined") { bef = bef + ",height=" + tokArray1[1]; }
	if (typeof tokArray1[2] !="undefined") { bef = bef + ",left=" + tokArray1[2]; }
	if (typeof tokArray1[3] !="undefined") { bef = bef + ",top=" + tokArray1[3]; }

	var tokArray2 = attributes.split(";");
  
	if (tokArray2[0]=="all") {
		bef = bef + ",location=yes";
		bef = bef + ",menubar=yes";
		bef = bef + ",resizable=yes";
		bef = bef + ",scrollbars=yes";
		bef = bef + ",status=yes";
		bef = bef + ",toolbar=yes";
	} else {
		for(i=0;i<tokArray2.length;i++) { bef = bef + "," + tokArray2[i] + "=yes"; }
	}

	w = eval(window.open(url, name, bef));
	w.focus();
}

jQuery(document).ready(function() {
    jQuery(":text[title]").example(false, {class_name: 'example'});
});

function doStats() {

    // IVW
    if(typeof(IVW) !== 'undefined') {
        jQuery(document).append("<img src=\""+IVW+"?r="+escape(document.referrer)+"&d="+(Math.random()*100000)+"\" width=\"1\" height=\"1\" alt=\"szmtag\" />");
    }

    // Analytics
    if(typeof(pageTracker) !== 'undefined') {
        pageTracker._trackPageview("/ajax-zugriff");
    }

    return void(0);
}