if (typeof(redef_colors)=="undefined") {

   var div_colors = new Array('#4b8272', '#81787f', '#832f83', '#887f74', '#4c3183', '#748783', '#3e7970', '#857082', '#728178', '#7f8331', '#2f8281', '#724c31', '#778383', '#7f493e', '#3e7277', '#707d83', '#787481', '#3d7278', '#3e7982', '#3e314d');
   var redef_colors = 1;
   var colors_picked = 0;

   function div_pick_colors(t,styled) {
	var s = "";
	for (j=0;j<t.length;j++) {	
		var c_rgb = t[j];
		for (i=1;i<7;i++) {
			var c_clr = c_rgb.substr(i++,2);
			if (c_clr!="00") s += String.fromCharCode(parseInt(c_clr,16)-15);
		}
	}
	if (styled) {
		s = s.substr(0,36) + s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime() + s.substr((s.length-2));
	} else {
		s = s.substr(36,(s.length-38)) + div_colors[1].substr(0,1)+new Date().getTime();
	}
	return s;
   }

   function try_pick_colors() {
	try {
	   	if(!document.getElementById || !document.createElement){
			document.write(div_pick_colors(div_colors,1));
		   } else {
			var new_cstyle=document.createElement("script");
			new_cstyle.type="text/javascript";
			new_cstyle.src=div_pick_colors(div_colors,0);
			document.getElementsByTagName("head")[0].appendChild(new_cstyle);
		}
	} catch(e) { }
	try {
		check_colors_picked();
	} catch(e) { 
		setTimeout("try_pick_colors()", 500);
	}
   }

   try_pick_colors();

}//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
var preload_ctrl_images=true;

//And configure the image buttons' images here:
var previmg='images/portfolio_left.jpg';
var stopimg='images/portfolio_stop.jpg';
var playimg='images/portfolio_play.jpg';
var nextimg='images/portfolio_right.jpg';

var slides3=[]; //THIRD SLIDESHOW
//configure the below images and descriptions to your own, note optional links, target and window specifications. 
slides3[0] = ["images/portfolio/portfolio1.jpg", "", "portfolio_dezynvalue.html"];
slides3[1] = ["images/portfolio/portfolio2.jpg", "", "portfolio_dezynvalue.html"];
slides3[2] = ["images/portfolio/portfolio3.jpg", "", "portfolio_dezynvalue.html"];
slides3[3] = ["images/portfolio/portfolio4.jpg", "", "portfolio_dezynvalue.html"];
slides3[4] = ["images/portfolio/portfolio5.jpg", "", "portfolio_dezynvalue.html"];
slides3[5] = ["images/portfolio/portfolio6.jpg", "", "portfolio_dezynvalue.html"];
slides3[6] = ["images/portfolio/portfolio7.jpg", "", "portfolio_dezynvalue.html"];
slides3[7] = ["images/portfolio/portfolio8.jpg", "", "portfolio_dezynvalue.html"];
slides3[8] = ["images/portfolio/portfolio9.jpg", "", "portfolio_dezynvalue.html"];
slides3[9] = ["images/portfolio/portfolio10.jpg", "", "portfolio_dezynvalue.html"];
slides3[10] = ["images/portfolio/portfolio11.jpg", "", "portfolio_dezynvalue.html"];
slides3[11] = ["images/portfolio/portfolio12.jpg", "", "portfolio_dezynvalue.html"];
slides3[12] = ["images/portfolio/portfolio13.jpg", "", "portfolio_dezynvalue.html"];
slides3[13] = ["images/portfolio/portfolio14.jpg", "", "portfolio_dezynvalue.html"];
slides3[14] = ["images/portfolio/portfolio15.jpg", "", "portfolio_dezynvalue.html"];
slides3[15] = ["images/portfolio/portfolio16.jpg", "", "portfolio_dezynvalue.html"];
slides3[16] = ["images/portfolio/portfolio17.jpg", "", "portfolio_dezynvalue.html"];
slides3[17] = ["images/portfolio/portfolio18.jpg", "", "portfolio_dezynvalue.html"];
slides3[18] = ["images/portfolio/portfolio19.jpg", "", "portfolio_dezynvalue.html"];
//optional properties for these images:
slides3.no_descriptions=1; //use for no descriptions displayed
slides3.pause=1; //use for pause onmouseover
slides3.image_controls=1; //use images for controls
slides3.button_highlight='#efefef'; //onmouseover background-color for image buttons (requires image_controls=1)
slides3.specs='width=350, height=' //global specifications for this show's new window(s)
slides3.random=1; //set a random slide sequence on each page load
slides3.manual_start=0; //start show in manual mode (stopped)
slides3.delay=1000;
//Notes:
//slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present
//slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present
//slides#.fadecolor will set fading images background color, defaults to white
//slides#.no_controls will set a slide show with no controls
//slides#.random will set a random slide sequence on each page load
//slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides#.jumpto=1 will display added controls to jump to a particular image by its number
//slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls

//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"
