		var divWidth=262;
		var currenthash=location.hash.replace("#","");
		if(currenthash=="banners") {
			currenthash=1;
		}else if(currenthash=="businesscards") {
			currenthash=2;
		}else if(currenthash=="brochures") {
			currenthash=3;
		}else if(currenthash=="ebooks") {
			currenthash=4;
		}else if(currenthash=="headers") {
			currenthash=5;
		}else if(currenthash=="htmlemail") {
			currenthash=6;
		} else {
			currenthash="";
		}
		jQuery(document).ready(function($) {
			$('a[rel*=facebox]').facebox({
				loading_image : 'images/loading.gif',
				close_image   : 'images/closelabel.gif'
			})
			$("#webdesign_port03").css("left","-"+(currenthash*divWidth)+"px");
			if(currenthash!=6)
				currenthash++;
		})

		var ScrollSpeed=10;		//  MAX LIMIT is 100 ******
		var ScrollCnt='';
		var timer=new Array();
		var pos_cnt=new Array();
		var pre_id=new Array();
		var scroll_cnt=new Array();
		var total_count=0;
		function slideLef(id,cnt) {
			if(pre_id[id]!=id) {
				clearTimeout(timer[id]);
				pre_id[id]=id;
				if(scroll_cnt[id]) {
					if((parseInt(cnt)-1)>parseInt(scroll_cnt[id])) {
						scroll_cnt[id]=parseInt(scroll_cnt[id])+1;
					} else {
						scroll_cnt[id]=parseInt(cnt);
						pre_id[id]='';
						return false;
					}
				} else if(currenthash!="") {
					scroll_cnt[id]=currenthash;
					currenthash="";
				} else {
					scroll_cnt[id]=1;
				}
				toTwidth=parseInt(divWidth)*cnt;
				siGwidth=parseInt(toTwidth/cnt);
				pos_cnt[id]=0;
				timer[id]=setInterval('scroll("l","'+id+'","'+siGwidth+'","'+(toTwidth-siGwidth)+'")',1);
			}
		}
		function slideRight(id,cnt) {
			if(pre_id[id]!=id) {
				clearTimeout(timer[id]);
				pre_id[id]=id;
				if(parseInt(cnt)==scroll_cnt[id]) {
					scroll_cnt[id]=parseInt(scroll_cnt[id])-1;
				}
				if(parseInt(scroll_cnt[id])>0) {
					scroll_cnt[id]=parseInt(scroll_cnt[id])-1;
				} else if(currenthash!="") {
					if(currenthash!=6)
						scroll_cnt[id]=currenthash-2;
					else
						scroll_cnt[id]=currenthash-1;
					currenthash="";
				} else {
					scroll_cnt[id]=1;
				}
				toTwidth=parseInt(divWidth)*cnt;
				siGwidth=parseInt(toTwidth/cnt);
				pos_cnt[id]=0;
				timer[id]=setInterval('scroll("r","'+id+'","'+siGwidth+'","'+(toTwidth-siGwidth)+'")',1);
			}
		}
		function scroll(opt,id,max,maxAll) {
			last=parseInt(maxAll)+parseInt(max);
			maxAll=parseInt(scroll_cnt[id]*max);
			if(opt=='l') {
				if(-1*(parseInt(maxAll))<(document.getElementById(id).offsetLeft)) {
					if(max>pos_cnt[id]) {
						pos_cnt[id]=parseInt(pos_cnt[id])+ScrollSpeed;
						//document.title=(parseInt(document.getElementById(id).offsetLeft)-ScrollSpeed)
						document.getElementById(id).style.left=(parseInt(document.getElementById(id).offsetLeft)-ScrollSpeed)+"px";
					} else {
						document.getElementById(id).style.left=-1*parseInt(max);
						clearTimeout(timer[id]);
						pre_id[id]='';
					}
				} else {
					document.getElementById(id).style.left=-1*parseInt(maxAll);
					clearTimeout(timer[id]);
					pre_id[id]='';
				}
			}
			if(opt=='r') {
				if(parseInt(document.getElementById(id).offsetLeft)<0) {
					if(max>pos_cnt[id]) {
						pos_cnt[id]=parseInt(pos_cnt[id]+ScrollSpeed);
						document.getElementById(id).style.left=(parseInt(document.getElementById(id).offsetLeft)+ScrollSpeed)+"px";
					} else {
						document.getElementById(id).style.left=-1*(maxAll);
						clearTimeout(timer[id]);
						pre_id[id]='';
					}
				} else {
					document.getElementById(id).style.left=0;
					clearTimeout(timer[id]);
					pre_id[id]='';
					scroll_cnt[id]=0;
				}
			}
		}
		function checkStatus(id,cnt,opt,opt1,opt2,opt3,opt4) {
			if(opt=='l') {
				maxAll=parseInt(divWidth*(cnt-1));
				if(-1*maxAll != parseInt(document.getElementById(id).offsetLeft)) {
					MM_swapImage(opt1,opt2,opt3,opt4);
				} else {
					document.getElementById(id).style.cursor='arrow';
				}
			} else if(opt=='r') {
				if(parseInt(document.getElementById(id).offsetLeft)!=0){
					MM_swapImage(opt1,opt2,opt3,opt4);
				} else {
					document.getElementById(id).style.cursor='arrow';
				}
			}
		}