// JavaScript Document
if (document.images)
{
  pic1= new Image; 
  pic1.src="images/check_over.jpg"; 

  pic2= new Image; 
  pic2.src="images/continue_over.jpg";
  
  pic3= new Image; 
  pic3.src="images/left_over.gif";
  
  pic4= new Image; 
  pic4.src="images/right_over.gif";
 
  pic5= new Image; 
  pic5.src="images/send_button_over.jpg";
  
  pic6= new Image; 
  pic6.src="images/skip_over.jpg";
  
  pic7= new Image; 
  pic7.src="images/search_button_over.gif";
}
/*	Search Block	*/
function yellow(alt)
{
	document.getElementById(alt).src = 'images/search_button_over.gif';
	}

function wht(alt)
{
	document.getElementById(alt).src = 'images/search_button.gif';
	}

temp = "";

function rotate1()
{
	document.getElementById("search_input").value = '';
	document.getElementById("search_input").value = 'Search the Jobs...';
	document.getElementById("a1").style.color = '#ffc20a';
	document.getElementById("a2").style.color = '#c2bbb4';
	document.getElementById("a3").style.color = '#c2bbb4';
}

function rotate2()
{
	document.getElementById("search_input").value = '';
	document.getElementById("search_input").value = 'Search Videos...';
	document.getElementById("a2").style.color = '#ffc20a';
	document.getElementById("a1").style.color = '#c2bbb4';
	document.getElementById("a3").style.color = '#c2bbb4';
}

function rotate3()
{
	document.getElementById("search_input").value = '';
	document.getElementById("search_input").value = 'Search Profiles...';
	document.getElementById("a3").style.color = '#ffc20a';
	document.getElementById("a2").style.color = '#c2bbb4';
	document.getElementById("a1").style.color = '#c2bbb4';
}

function job()
{
	document.getElementById("search_input").value = 'Search the Jobs...';
	}

function inside(asd)
{
	temp = asd.value;
	asd.value = '';
}

function outside(asd)
{
	asd.value = temp;
}

/*	End Search Block	*/

function change1(ptr)
{
	ptr.src = 'images/send_button_over.jpg';
}

function change2(ptr)
{
	ptr.src = 'images/send_button.jpg';
}

function change3(ptr)
{
	ptr.src = 'images/check_over.jpg';
}

function change4(ptr)
{
	ptr.src = 'images/check.jpg';
}

function change5(ptr)
{
	ptr.src = 'images/continue_over.jpg';
}

function change6(ptr)
{
	ptr.src = 'images/continue.jpg';
}

function change7(ptr)
{
	ptr.src = 'images/save_over.jpg';
}

function change8(ptr)
{
	ptr.src = 'images/save.jpg';
}

function change9(ptr)
{
	ptr.src = 'images/skip_over.jpg';
}

function change10(ptr)
{
	ptr.src = 'images/skip.jpg';
}

function change11(ptr)
{
	ptr.src = 'images/save_changes_over.jpg';
}

function change12(ptr)
{
	ptr.src = 'images/save_changes.jpg';
}

function change13(ptr)
{
	ptr.src = 'images/change_over.jpg';
}

function change14(ptr)
{
	ptr.src = 'images/change.jpg';
}

function change15(ptr)
{
	ptr.src = 'images/export_button_over.jpg';
}

function change16(ptr)
{
	ptr.src = 'images/export_button.jpg';
}

function change17(ptr)
{
	ptr.src = 'images/add_video_button_over.jpg';
}

function change18(ptr)
{
	ptr.src = 'images/add_video_button.jpg';
}

function change19(ptr)
{
	ptr.src = 'images/reset_button_over.jpg';
}

function change20(ptr)
{
	ptr.src = 'images/reset_button.jpg';
}

/*	Individual Profile	*/



function ifan(obj)
{
	obj.style.borderColor = '#51473d';
	obj.style.background = '#EFEDE0';
}

function ifon(obj)
{
	obj.style.borderColor = '#b3b9c3';
	obj.style.background = '#fff';
}

/*	End Individual Profile	*/

function ibold(inpt)
{
	if (inpt == "key")
		document.getElementById("key").style.fontWeight = 'bold';
}
	
function inormal(inpt)
{
	if (inpt == "key")
		document.getElementById("key").style.fontWeight = 'normal';
}

function white(pt)
{
	pt.style.borderColor = '#fff';
}

function grey(pt)
{
	pt.style.borderColor = '#b9b9b9';
}

function white1(pt)
{
	pt.style.borderColor = '#fff';
}

function grey1(pt)
{
	pt.style.borderColor = '#000';
}
function pausecomp(millis) { 
  var date = new Date(); 
  var curDate = null; 
  do {  curDate = new Date();  }  while(curDate-date < millis); 
}
