// JavaScript Document

var imnow="im0";
var now=0;
var oldleft=0;
var currentup=0;

window.addEvent("domready",init);

var menu={'mouseenter':
	function(){
		switch(this.id)
		{
			case 'home':
			menu_left="-5px";
			menu_width="60px";
			break;
			case 'event':
			menu_left="70px";
			menu_width="60px";
			break;
			case 'blog':
			menu_left="145px";
			menu_width="50px";
			break;
			case 'download':
			menu_left="210px";
			menu_width="95px";
			break;
			case 'spons':
			menu_left="320px";
			menu_width="80px";
			break;
			case 'contact':
			menu_left="415px";
			menu_width="80px";
			break;
		}
		$('knob').morph({'left':menu_left,'width':menu_width});
		this.getElements('a').morph({'color':'#FFF'});
	},
	'mouseleave':function() 
	{
		$('knob').morph({'left':currmenu_left,'width':currmenu_width});
		this.getElements('a').morph({'color':'#999'});
	}
};

function putcontent()
{
	switch(now)
	{
		case 1:
		document.getElementById("innercontent").innerHTML="<h3>Athletics</h3><h4>BOYS</h4><b>Events</b> : 100m, 200m, 400m, 800m, 1500m, 3000m, 5000m, 4*100m relay, 4*400m relay, long jump, shot put, discuss throw, javelin throw, 12 km marathon.<br/><br/><b>Rules</b><br/>1.	For each of the field events, namely long jump, shot put, discuss throw and javelin throw, each person would get 3 trials, out of which the best one would be chosen for evaluation.<br/>2.	For 100m race,there would be heats followed by finals.<br/>3.	All other races will have no heats,directly finals will be conducted and results would be based on timings.<br/>4.	Maximum 2 participants from each college in any particular event(excluding relays,which requires 4 from each team).<h4>GIRLS</h4><b>Events</b> : 100m, 200m, 800m, 1500m, 3000m, 5000m, 4*100m relay, 4*400m relay, long jump, shot put, discuss throw.<br/><br/><b>Rules</b><br/>1.	Standard rules apply for all athletics events.<br/>2.	Number of trials for jumps and throws will be decided on the spot based on the number of participants.<br/>3.	Maximum of two participants per college are allowed in a single event.<br/>4.	An individual can participate in not more than 4 individual events.(relays not included).<br/><br/><b>Contact</b> :<br/>Bhavya Ravi<br/>9772976080<br/>bhavrafa@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 2:
		document.getElementById("innercontent").innerHTML="<h3>Badminton</h3><h4>BOYS</h4><b>Events</b> : Team<br/><br/><b>Rules</b><br/>1. Format of Play : Best of 3(in the order), Singles(Men), Doubles(Men), Singles(Men).<br/>2.	Each match(singles/doubles) is best of 3 sets of 21 points.<br/>3.	Teams for every game are submitted before the match (specifying who will be playing 1st singles,doubles and 2nd singles). This team can not be changed after submission.<br/>4.	Latest IBF rules will be followed.<br/>5.	Teams of maximum 4 players and minimum 3 players.<br/>6.	Only one player can play in two matches (one singles and one doubles).<br/><br/><b>Contact</b> :<br/>Tanmay Narulkar<br/>7568805657<br/>tn11815@gmail.com<h4>GIRLS</h4><b>Events</b> : Team<br/><br/><b>Rules</b><br/>1.	Format Of Play :<br/>1st match: 1st singles<br/>2nd match: Doubles<br/>3rd match : 2nd singles<br/><br/>2.	Each match is best of three games, 21 points each.<br/>3.	Against a team, only one player can play 2 matches(not both singles).<br/>4.	New IBF rules will be followed.<br/>5.	Referee decisions will be final and the organizing committee hold the rights to disallow a player from playing further.<br/>6.	Teams of maximum 4 players and minimum 3 players.<br/><br/><b>Contact</b> :<br/>Bhavya Ravi<br/>9772976080<br/>bhavrafa@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 3:
		document.getElementById("innercontent").innerHTML="<h3>Basketball</h3><h4>BOYS</h4><b>Rules</b><br/>1. FIBA rules applicable.<br/>2. 10 minutes each quarter with 2 minute break between the quarters and 5 minutes at half time.<br/>3. Teams should report to the basket ball court half an hour before their match.<br/>4.	All the players of the team should have same colour of jersey with printed numbers.<br/>5.	Maximum 12 players are allowed in a team.<br/><br/><b>Contact</b> :<br/>Hemendra Singh<br/>9602214069<br/>shekhawat.hemendras@gmail.com<br/><h4>GIRLS</h4><b>Rules</b><br/>1. FIBA rules applicable.<br/>2. 10 minutes each quarter with 2 minute break between the quarters and 5 minutes at half time.<br/>3. Teams should report to the basket ball court half an hour before their match.<br/>4. All the players of the team should have same colour of jersey with printed numbers.<br/>5.	Use of abusive or foul language during the play can lead to technical fouls or expulsion depending on the referee and the organizing committee.<br/>6.	No players should have anything on his/her hand or neck (wrist watch, necklace, ring, kada, bracelet etc.) jewellery of any kind is not allowed and nails have to be cut.<br/>7. Maximum 12 players are allowed in a team.<br/><br/><b>Contact</b> :<br/>Anubha Jain<br/>9680224666<br/>ajain.1401@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 4:
		document.getElementById("innercontent").innerHTML="<h3>Bodybuilding</h3><b>To be uploaded soon.</b>";
		document.getElementById("scrollarea").style.visibility="hidden";
		break;
		case 5:
		document.getElementById("innercontent").innerHTML="<h3>Carrom</h3><h4>BOYS</h4><b>Events</b> : Team<h4>GIRLS</h4><b>Events</b> : Team<br/><br/><b>Rules</b><br/>1. Standard carrom rules apply.<br/>2. Best of five will be considered out of three singles and two doubles matches played between any two teams. An individual can participate in not more than one singles and one doubles match.<br/>3. Each team comprises of 4 players only.<br/>4. A game shall be of 25 points or eight boards. The player/team who reaches 25 points first or leads at the conclusion of the eighth board shall be the winner of the game.<br/>5. All the rounds before the finals will be knockout rounds.<br/>6. The participants will be made familiar with the rules before the start of the tournament.<br/>7. Any hand may be used in play. Participants can change hand during the game.<br/>8. In case of any conflict, decision of the organizing committee shall be final and binding.<br/>9. Maximum three teams(boys) and one team(girls) allowed from each college.<br/><br/><b>Contact</b> :<br/>Kishan Kumar<br/>08058954228<br/>kishanbits@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 6:
		document.getElementById("innercontent").innerHTML="<h3>Chess</h3><b>Events</b>: Classical(mixed), Lightning(mixed), Problem Solving(mixed).<br/><br/><b>Rules</b><br/>Limit on number on players :<br/>Classical : 5 (4 + 1 reserve)<br/>Lightning : 5 (4 + 1 reserve)<br/>Problem Solving : 3<br/><br/><b>General chess rules</b><br/>1) All FIDE rules apply as on 1st January 2010.<br/>2)	Touch-to-move: If a player touches a piece, he/she must move it. It also requires him/her to capture opponent's piece if he/she touches it. This rule only applies if the player can make a legal move with the piece touched. If the player accidentally brushes a piece he/she is not required to move it. if a player touches a piece by non-playing area(like elbow), then he is not required to move it. If a piece is awkwardly placed, you can adjust it; simply say \"I adjust\" before touching the piece to make it clear to your opponent that you don't intend to move it.<br/>3)	Clock rules: Opponents must press the clock with same hand that moves pieces. If not, he/she may be penalized one minute, which will be added to opponent's time. The chess clock will be placed on black's right-hand side.<br/>4)	Illegal move: If one player makes an illegal move, while playing on the clock, two minutes will be added to opponent's time. The player must also move the piece that he touched, if legal.<br/>5)	Winning on time: Whichever player's flag fall first, loses the game (on time). To claim a win on time, stop both clocks-claimant's flag must still be standing and he/she must have winning material. If both flags are down, the game is drawn.<br/>6)	Rules of draw:<br/>Draw by offer: A proposal of draw offer should be made after move and before pressing clock. (Make the offer of draw while claimant's clock is running) The opponent may accept or reject it. Any opponent who makes an improper draw offer may be penalized one minute added to opponent's time. <br/>Draw by threefold repetition: the claimant must present a score sheet demonstrating that the same position: A) is about to occur or B) has occurred, with the same player to move. It must be the claimant's move to make such a claim. if the claimant makes a move and stop the clock, the claim will be declared invalid.<br/>50-move rule: If the player shows that (with moves written on score sheet) 50 moves having been made without a pawn having been moved or any capture made, he may claim the game a draw. Both the clock should be stopped before claiming for a draw.<br/>Stalemate: If the player on turn has no legal move but is not in check, this is stalemate and the game is a draw.<br/>Impossibility of checkmate: if a position arises in which neither player could possibly give checkmate by a series of legal moves, the game is a draw. This is usually because there is insufficient material left.<br/><br/><b>Tournament rules and information</b><br/>1)	The board order of players should be given beforehand to the committee. It can not be changed except as per the substitution rule.<br/>2)	in case of a 2-2 draw between the playing team in critical rounds, three blitz matches will be played between the best players of the teams. Captains of both the teams will report the name of the best player to the organizer confidentially. In case of further draw, a final Armageddon match will be held.<br/>3)	Rule for substitution: \"Roll over substitution\"<br/>The boards lower to the board on which substitution is made would slide u one board till the board of substitution.<br/>Example 1: Assume following board order- A-1, B-2, C-3,D-4.Substitute player E. In case, the player A (on board 1) is to be substituted. New board order should be B-1, C-2, D-3, E-4 (Non playing-A).<br/>Example 2: Assume following board order- A-1, B-2,C-3,D-4.Substitute player E. In case, the player C (on board 3) is to be substituted. New board order should be A-1, B-2, D-3, E-4 (Non playing-C).<br/>Violation of rules of substitution will lead to '0-4' loss to the violating team for that round.<br/>4)	Contact the organizers to clear your confusion/dispute. If a player has a disagreement, he/she should stop the clock, contact an arbiter and ask for a solution. The chess clock should be stopped before calling organizer.<br/>5)	All participating teams are requested to bring 'chess clocks'. The player is required to know how to use a clock. A player may ask about its operation before the clocks are applied.<br/>6)	It is expected that players record the moves. (A sheet would be provided.)It may help to resolve some disputes. At the end of game, a signed copy (by both players) of result sheet should be handed over to organizing committee. The moves should be written using standard chess notation.<br/>7)	No prompting allowed (Even if violation of any rule is noticed by spectators). Any person found guilty for prompting would be disqualified from the tournament and strict action would be taken against the team to which he/she belongs.<br/>8)	A player or his/her team can be disqualified if his/her conduct in the tournament hall is not found satisfactory.<br/>9)	After the game is over, both the players should leave the table immediately. However, captains of the playing team can stay inside the playing arena even if his/her match is over.<br/>10)	Walkover would be given to the player if his/her opponent does not turn up in 30 minutes (for classical chess) after the round has started. Any player absent from the playing room or board for more than fifteen minutes without permission from the committee may have his or her game forfeited due to unsportsmanlike conduct.<br/>11)	Please switch off your mobile or keep it in silence mode. everyone present in the hall is expected to maintain silence. Violating team will likely be subject to a penalty, and may even have to forfeit their game.<br/>12)	Parents, coaches and managers are not allowed inside the playing arena.<br/><br/><b>Rules specific to lightning chess</b><br/>1. Time of the game will be 5 minutes to each player per game.<br/>2.	King can be captured and that results in a loss of game for the player whose king has been captured.<br/>3.	Illegal move pointed out by the opponent immediately results in a loss.<br/>4.	Players dont need to point out a 'check' to the opponent.<br/><br/><b>Contact</b> :<br/>Nipun Chowrasia<br/>9785033099<br/>nipunchowrasia@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 7:
		document.getElementById("innercontent").innerHTML="<h3>Cricket</h3><b>Rules</b><br/>1.	Maximum 16 players are allowed in a team.<br/>2.	Tournament will be played on T-20 format.<br/>3.	Normal T-20 rules apply.<br/>4.	Tournament will be played on knock out format until finals. Final will be played as round robin league between three teams.<br/>5.	Tie in the game will be resolved by a super over.<br/>6.	Tie in case of points or wins in finals will be resolved by comparison of 'net runrates of all the matches' played by the team.<br/>7.	Teams should report 15 minutes before the scheduled time if the team is late by more than 5 minutes, the match would be forfeited to the opposition team. <br/>8.	All the teams should come in whites.<br/>9.	Team has to complete its quota of overs in 1hour 25 minutes.<br/>10.	If the 1st bowling team fails to complete then they will be penalized and have to chase the score in the number of overs they have bowled in the specified time.<br/>11.	If the 2nd bowling team fails to complete then runs equal to (current run rate of the batting team * the no of overs) left will be added to the batting side total,also they will have to bowl the overs left.<br/>12.	Decision of Umpires and Organizing committee shall be final and binding.<br/><br/><b>Contact</b> :<br/>Balaji Kolli<br/>balaji.k08@gmail.com<br/>+91-9602214244";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 8:
		document.getElementById("innercontent").innerHTML="<h3>Football</h3><b>Rules</b><br/>1. Normal FIFA rules apply.<br/>2. Offside etc. as per current format.<br/>3. Max. 3 substitutes allowed.<br/>4. Extra time for knockout stages will be notified only before the match.<br/>5.	Referees decision shall be final.<br/>6.	Maximum no. Of players allowed in a team are 15.<br/><br/><b>Contact</b> :<br/>Rachit Shah<br/>+918107737798<br/>rach.2nd@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 9:
		document.getElementById("innercontent").innerHTML="<h3>Hockey</h3><b>Rules</b><br/><br/>1. The game will be played according to the FIH rules including the new penalty corner and self start rule.<br/>2. The game will be played in 2 halves of 30 min each with a 5 min break in between.<br/>3. The format will be league in the first round and points distribution will be as follows: Win:3 pts Draw:1 pt Loss: 0<br/>4. Incase of tie in the league matches goal difference will serve as tie breaker and in knockout matches(except final) penalty shootout will serve as tie breaker.In the final a total extra time of 20 min i.e 2 halves of 10 min each will be awarded before penalty shoot out.<br/>5. If a player gets 3 green cards or 2 yellow cards or 1 red card during any part of the tournament he will be suspended for the next match.<br/>6. Refrees decision will be final and binding.<br/>7. Changes if any in the rules will be notified before the start of the tournament.<br/>8. Maximum number of players allowed in a team is 16.<br/><br/><b>Contact</b> :<br/>Yogesh Mantri<br/>9314271747<br/>5yogesh.12@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 10:
		document.getElementById("innercontent").innerHTML="<h3>Powerlifting</h3><b>To be uploaded soon.</b>";
		document.getElementById("scrollarea").style.visibility="hidden";
		break;
		case 11:
		document.getElementById("innercontent").innerHTML="<h3>Squash</h3><h4>BOYS (Singles only) - Team event</h4><b>Rules</b><br/><br/>1. Each team to have 3 players. A single college can submit any number of teams.<br/>2. Members of the team and order in which they will play to be decided before start of play which cannot be changed thereafter.<br/>3. A match wil be a best of 5 sets.<br/>4. Each set is of 11 points played at point per rally system(PAR).<br/>5. Standard WSF rules will be followed and decision of the referee will be final and binding.<br/><br/><b>Contact</b> :<br/>Vishesh Agarwal<br/>09509089555<br/>drksoul.vishesh@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 12:
		document.getElementById("innercontent").innerHTML="<h3>Swimming</h3><b>Rules</b><br/>1.	Not more than two competitors and one reserve will be entertained for a particular event from one college.<br/>2.	Any particular person can participate in maximum of 2 individual events +200 Individual Medley.<br/>3.	All participants must carry their IDENTIFICATION CARDS at all times along with them to the swimming pool and produce the same whenever needed.<br/>4.	Team Coach/ Manager/ In-Charge hold the responsibility for the safety of his/ her team members.<br/>5.	In case of any protest the application for the same should be forwarded through proper channels in written form by the Team Coach/ Manager/ In-Charge only. Protest in any other form will be outright rejected.<br/>6.	The decision of the event officials will be final and binding on all the participants and Team Coach/ Manager/ In-Charge.<br/>7.	In case of team events not more than two teams from a college can participate.<h4>MEN</h4><b>Events</b><br/>50m Freestyle, 100m Freestyle, 200m Freestyle, 400m Freestyle, 800m Freestyle, 50m Breaststroke, 100m Breaststroke, 200m Breaststroke, 50m  Backstroke, 100m Backstroke, 200m Backstroke, 50m butterfly stroke, 100m butterfly stroke, 200m individual medley, 4 x 50m freestyle relay, 4 x 50m medley relay.<br/><br/><b>Contact</b> :<br/>Karthik Sridharan<br/>9610831525<br/>karisridharan@gmail.com<h4>WOMEN</h4><b>Events</b><br/>50m Freestyle, 100m Freestyle, 50m Breaststroke, 100m Breaststroke, 50m  Backstroke, 100m Backstroke, 50m butterfly stroke, 100m butterfly stroke, 100m individual medley, 4 x 25m medley relay, 4 x 50m freestyle relay.<br/><br/><b>Contact</b> :<br/>Ankita Satpathy<br/>9950688321<br/>ankita.satpathy09@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 13:
		document.getElementById("innercontent").innerHTML="<h3>Table Tennis</h3><h4>MEN TEAM</h4><b>Rules</b><br/>1. Format Of Play : singles(A vs X),singles(B vs Y), doubles and reverse singles(A vs Y & B vs X).<br/>2. All games will be best of 5.<br/>3. Players playing singles won't be allowed to repeat in doubles.<br/>4. Maximum number of 5 and minimum number of 4 players are allowed in a team.<br/><br/><b>Contact</b> :<br/>Navdeep<br/>9602214626<br/>navdeep.bits@gmail.com<h4>WOMEN TEAM</h4><b>Rules</b><br/>1. Format Of Play : singles(A vs X),singles(B vs Y), doubles and reverse singles(A vs Y & B vs X).<br/>2. All games would be best of three.<br/>3. Maximum 4 players are allowed in a team.<br/><br/><b>Contact</b> :<br/>Ananya Das<br/>9649186874<br/>ananyaa90@gmail.com<h4>MIXED TEAM</h4><b>Rules</b><br/>1. Max. 2 entries per college are allowed.<br/>2. The format will be singles(men),singles(girls) and doubles(mixed).<br/>3. Minimum number of players per team required will be 2.<br/>4. All games will be best of 5.<br/><br/><b>Contact</b> :<br/>Navdeep<br/>9602214626<br/>navdeep.bits@gmail.com<br/><br/>Ananya Das<br/>9649186874<br/>ananyaa90@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 14:
		document.getElementById("innercontent").innerHTML="<h3>Tennis</h3><h4>MEN</h4><b>Rules</b><br/>1. First 2 singles matches will be played between the two teams, and if each team wins one then a doubles decider match will be played.<br/>2. However, atleast one doubles player has to be different from the ones who played the singles matches.<br/>3. Matches will be one set- best of 17 games.<br/>4. Finals and semi-finals best of 3 sets(normal sets).<br/>5.	Minimum 3 players and maximum 4 players are allowed in a team.<br/><br/><b>Contact</b> :<br/>Devesh Aggarwal<br/>9950675677<br/>dvshaggarwal@gmail.com<h4>WOMEN</h4><b>Rules</b><br/>1. Every Team needs to register with a minimum of two players and a maximum of four players.<br/>2. Players need to bring their own Racquets and Practice balls. However, match balls will be provided for the matches.<br/>3. The format of the match will include two singles rounds(Best of 13 games for the initial rounds, Best of 15 games for the finals) and a doubles tie-breaker(Best of 15 games for the initial rounds, Best of 17 games for the finals).<br/>4.	The doubles match may be played by any two players from the team.<br/>5.	Minimum players per team: 2 and Maximum players per team: 4<br/><br/><b>Contact</b> :<br/>Dhwani Mehta<br/>9772975377<br/>dhwanimehta22@gmail.com";
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 15:
		document.getElementById("innercontent").innerHTML='<h3>Volleyball</h3><h4>MEN</h4><b>Rules</b><br/>1. All standard FIVB rules regarding general gameplay will be followed.<br/>2. All games will be played according the "rotation" rule unless both the teams agree on playing fixed.<br/>3. The tournament will be league cum knockout based.<br/>4. In case of any protest the final decision will be taken by the referees.<br/>5. Maximum number of players allowed in a team are 14.<br/><br/><b>Contact</b> :<br/>Ojaswi Chawla<br/>9983526292<br/>ojaswi.chawla@gmail.com<h4>WOMEN</h4><b>Contact</b> :<br/>Apurva Misra<br/>+919983525691<br/>apurva.great@gmail.com';
		document.getElementById("scrollarea").style.visibility="visible";
		break;
		case 16:
		document.getElementById("innercontent").innerHTML="Informalz";
		document.getElementById("scrollarea").style.visibility="hidden";
		break;
	}
	myscroller.update();
}

function exit()
{
	now=parseInt(imnow.substring(2));
	for(i=1;i<=15;i++)
	{
		if(i!=now)
		{
			im='im'+i;
			$(im).morph({'top':'200px'});
		}
	}
	oldleft=$("images").getStyle('left');
	var left=now-1;
	left=left*165
	lefts='-'+left+'px';
	im='im'+now;
	$(im).morph({'top':'-45px'});
	$(im).getElements('img').morph({'width':'164px','height':'136px'});
	$("images").morph({'left':lefts});
	putcontent(now);
	setTimeout("$('content').morph({'top':'25px'});",250);
}

function entry()
{
	document.getElementById("images").style.left=oldleft;
	for(i=1;i<=15;i++)
	{
		im='im'+i;
		document.getElementById(im).style.top="-200px";
	}
	for(i=1;i<=15;i++)
	{
		im='im'+i;
		$(im).morph({'top':'0px'});
	}
	document.getElementById("slider2").style.display="block";
	setTimeout('document.getElementById("content").style.top="-300px";',250);
}

var events={
	'mouseenter':function()
	{
		this.morph({'width':'205px','height':'170px'});
	},
	'mouseleave':function()
	{
		this.morph({'width':'164px','height':'136px'});
	},
	'click':function()
	{
		this.removeEvents(events);
		this.parentNode.style.cursor="default";
		document.getElementById("slider2").style.display="none";
		imnow=this.getParent('li').id;
		exit();
	}
};

var closes={
	'click':function()
	{
		$('content').morph({'top':'350px'});
		$(imnow).morph({'top':'200px'});
		$(imnow).getElements('img').addEvents(events);
		document.getElementById(imnow).style.cursor="pointer";
		setTimeout('entry()',300);		
	}
};
	
function toggle()
{
	$("other").fade('toggle');
	setTimeout('toggle()',4000);
}

function update()
{
	no=4;
	updates = new Array('The dates for BOSM 2010 are: 15th to 19th Sept','Check out the Ignition website, the annual cyber gaming festival.','You can now register online for BOSM 2010.','Join our facebook & twitter pages.');
	if(currentup==no)
		currentup=0;
	$("updates").fade('toggle');
	setTimeout('document.getElementById("updates").innerHTML=updates[currentup];$("updates").fade("toggle");setTimeout("update()",5000);currentup++;',500);
}

function init()
{
	setTimeout('toggle()',4000);
	update();
	if(window.innerHeight>584)
			document.getElementsByTagName('body').item(0).style.marginTop=(((window.innerHeight)/2)-292)+"px";
	/*Menu Initializations*/
	$("knob").set('morph', {duration:'normal',transition: 'sine:out'});
	$("navilist").getElements('a').set('morph', {duration:'normal',transition: 'sine:out'});
	$("navilist").getElements('li').addEvents(menu);
	currmenu_left=$("knob").getStyle('left');
	currmenu_width=$("knob").getStyle('width');
	switch(currmenu_left)
	{
		case "-5px":
		current="home";
		break;
		case "70px":
		current="event";
		break;
		case "145px":
		current="blog";
		break;
		case "210px":
		current="download";
		break;
		case "320px":
		current="spons";
		break;
		case "415px":
		current="contact";
		break;
	}
	$(current).removeEvents(menu);
	/*End of Menu Initializations*/
	/*Horizontal Scrolling Slider*/
	$("images").set('morph', {duration:'normal',transition: 'sine:out'});
	var myslider=new Slider($('slider2'), $('knob2'), {
		steps: 1650,	
		onChange: function(step){
			value=step+40;
			svalue='-'+value+'px';
			$('images').morph({'left':svalue});
		}
	}).set(0);
	/*Horizontal Scrolling Slider */
	/*Event Interactions*/
	$("images").getElements('li').set('morph', {duration:'short',transition: 'sine:out'});
	$("images").getElements('img').set('morph', {duration:'short',transition: 'sine:out'});
	$("content").set('morph', {duration:'normal',transition: 'sine:out'});
	$("images").getElements('img').addEvents(events);
	$("close").addEvents(closes);
	/*Event Interactions*/
}