	
	function quoted(str) {
		return (str != null) ? '"' + str + '"' : '""';
	}
	
	function teclasoft_write_iframe(w, d, ad_url) {

		ad_url = ad_url.substring(0, 1000);
		
		d.write('<iframe' +
		' name="Teclasoft Productos"' +
		' width=' + quoted(w.teclasoft_width) +
		' height=' + quoted(w.teclasoft_height) +		
		' frameborder="0"' +
		' src=' + quoted(ad_url) +
		' marginwidth="0"' +
		' marginheight="0"' +
		' vspace="0"' +
		' hspace="0"' +
		' allowtransparency="true"' +
		' scrolling="no">');
		
		d.write('</iframe>');
	}

	function teclasoft_reset_variables(w) {
		var nullvalue = null;
	}

	function teclasoft_show_ad() {
		
		var nullvalue = null;
		var w = window;
		var d = document;
		var date = new Date();
		var random = date.getTime();
	
		w.teclasoft_ad_url = 'http://www.informatica2.com/home/afiliate.m?';
		w.teclasoft_ad_url += 'cpart=' + w.teclasoft_idafiliate;
		teclasoft_write_iframe(w, d, w.teclasoft_ad_url);
		teclasoft_reset_variables(w);
	}


	function teclasoft_init_globals() {
		var w = window;
		var d = document;
		var location = d.location;
		var referrer = d.referrer;
		var nullvalue = null;
	}	

	teclasoft_init_globals();
	teclasoft_show_ad();
 
