﻿// content_2
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1 2={8:a(b.c),d:"/3/4/e.f"};1 5={g:"h",i:"j"};1 6={};k.l("/3/4/m.n","o","7%","7%","9.0.0",p,2,5,6);',26,26,'|var|flashvars|resource|box_2|params|attributes|100|initialURL||escape|document|location|paramXMLPath|param|xml|allowfullscreen|true|wmode|transparent|swfobject|embedSWF|slideshowpro|swf|content_2|false'.split('|'),0,{}))

// content_3
function check_email (){
	var nome = document.email.nome.value;
	var filtro = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;
	var oggetto = document.email.oggetto.value;
	var email = document.email.email.value;
	var testo = document.email.testo.value;
	if ( nome == "" ){
		alert("Please, insert your name.");
		document.email.nome.focus();
		return false;}
	if ( email == "" ){
		alert("Please, insert your email.");
		document.email.nome.focus();
		return false;}
	if ( email != "" & !filtro.test(email) ){
		alert("Please, check your email.");
		document.email.email.focus();
		return false;}
	if ( oggetto == "" ){
		alert("Please, choose a subject.");
		document.email.oggetto.focus();
		return false;}
	if ( testo == "" ){
		alert("Please, write down some words.");
		document.email.testo.focus();
		return false;}
	else{
		return true;}
}

// content_4
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0 1={7:8(a.b),c:"/2/3/d.e"};0 4={f:"g",h:"i"};0 5={};j.k("/2/3/l.m","n","6%","6%","9",o,1,4,5);',25,25,'var|flashvars|resource|box_4|params|attributes|100|initialURL|escape||document|location|paramXMLPath|param|xml|allowfullscreen|true|wmode|transparent|swfobject|embedSWF|slideshowpro|swf|content_4|false'.split('|'),0,{}))

function get_gallery(element,location){
	alert('Call me? (get_gallery)');
	$.ajax({
		type: "POST",
		url: "scripts/working.php",
		data: {
			'function': 'gallery',
			'element': element,
			'location': location
		},
		dataType: "json",
		success: function(data) {
			alert(data['image']);
		}
	});
}
