$(function() {
	var startX = endX = horizontalStart('#work');
	var startY = 0;
	var endY = verticalStart('ul.work', 'top');
	drawLine(startX, endX, startY, endY, 'workLine1');

	var newStartY = endY - lineWidth;
	var startY = endY = newStartY;
	var startX = endX;
	var endX = horizontalStart('ul.work', 'left');
	drawLine(startX, endX, startY, endY, 'workLine2');	
	
	var startX = horizontalStart('ul.works a.focus', 'right', true);
	//endx stays the same
	var startY = endY = verticalStart('ul.works a.focus');
	drawLine(startX, endX, startY, endY, 'workLine3');	

	/*
	//place the 'photos' image...
	if ($('#workImage').length) {
		//first, make sure the image is not covering any part of the menu
		var imageTop = $('#photos').offset().top + ($('#photos').height() / 2) - 45; //45 is the dangler height / 2
		var listBottom = $('#workList').offset().top + $('#workList').height();
		if (imageTop < listBottom) {
			imageTop = listBottom + padding * 2;
		}
		var startY = endY = verticalStart('#photos', 'center');
		//check if the line lines up with the image..
		//if not, then don't show the line
		var photoLineY = startY + $('#content').offset().top;
		if (imageTop <= photoLineY) {
			var startX = startX - 3;
			var endX = horizontalStart('ul.work', 'left');
			drawLine(startX, endX, startY, endY, 'workLine4');				
		}
		$('#workImage').css({
			position: 'absolute',
			right: '0px',
			top: imageTop+'px'
		}).show();
	}
	*/
});