function ServerPath()
{
	return "http://192.168.1.60:80/panenetwork/";
}

function getSpacePath()
{
	//return "http://192.168.1.60:80/virtuald_ptudep/";
}

function getonlinePath()
{
	return "http://192.168.1.60:80/virtualhr/";
}

function getCMSPath()
{
	return "http://192.168.1.60:80/IIRSCMS/";
}

function getLibraryPath()
{
	return "http://192.168.1.60:80/digitallibrary/";
}

function LinkPath()
{
	return "http://192.168.1.60:80/panenetwork";
}

function contentPath()
{
	return "http://192.168.1.60:80/";
}

function contentOpen()
{
	return "http://192.168.1.60:80/panenetwork/Attachments/";
}
function briefcaseOpen()
{
	return "http://192.168.1.60:80/panenetwork/Briefcase";
}

function validity()
{
	return "12";
}

function propertyPath()
{
	return "D:\\Program Files/Apache Software Foundation/Tomcat 5.0\\webapps\\panenetwork\\WEB-INF\\classes\\com\\iGrandee\\Common\\vlearn.properties";
}




function getOverwrite()
{
	return "/C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/panenetwork/jsp/DynamicTree/Levelorg.xml";
}

function getInstituteOverwrite()
{
	return "/C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/panenetwork/jsp/DynamicTree/InstituteLevelorg.xml";
}

function getBackUp()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/jsp/DynamicTree/backupoflevelorg.xml";
}

function getUploadPathWithoutApplication()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/";
}

function getUploadPath()
{

	//return "/C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/panenetwork/Attachments/";
	return "/D:/Tomcat 5.5/webapps/panenetwork/Attachments/";
}
function getUploadMenulinkPath()
{

	return "/D:/Tomcat 5.5/webapps/panenetwork/Attachments/";
}
function getUploadMenuPath()
{
	return "http://localhost:8081/panenetwork/Attachments/Portal/";
}
function getLogoUploadPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/";
}

function getFeedBackUploadPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/Attachments/FeedBack_Reply/";
}

function setFeedBackUploadPath()
{
	return "Attachments/FeedBack_Reply/";
}

function setAssignmentUploadPath()
{
	return "Attachments/Assignment/";
}


function getUploadImagePath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/Attachments/";
}


function getBriefcasePath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/Briefcase/";
}

function getCMSContentPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/IIRSCMS/";
}

function getPhotoUploadPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/Photos/";
}

function getDocumentUploadPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/RegistrationDocuments/";
}


function getPersonPhotoUploadPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/Attachments/PersonPhotos/";
}

function getStaffPhotoUploadPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/Attachments/StaffPhotos/";
}

function setDownloadPath()
{
	return "panenetwork/";
}

function setAccessoryPath()
{
	return "panenetwork/jsp/ContentGeneration/Accessories/";
}

function getAccessoryPath()
{
	return "/D:/Tomcat 5.5/webapps/panenetwork/jsp/ContentGeneration/Accessories/";
}

function setPhotoDownloadPath()
{
	return "Photos/";
}

function setDocumentDownloadPath()
{
	return "RegistrationDocuments/";
}

function setPersonPhotoDownloadPath()
{
	return "Attachments/PersonPhotos/";
}

function setStaffPhotoDownloadPath()
{
	return "Attachments/StaffPhotos/";
}

function imagePath()
{
	return "http://192.168.1.60:80/panenetwork/images/button/";
}

function setUrl(obj,val,mode)
{
	if(mode=="Admin")
	{
		switch(val)
		{
			case "browse":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_browse";
			break;
			}
			case "schedule":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_schedule";
				//Admin/Schedule.jsp";
				break;
			}
			case "enrollment":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_enrollment";
				//Admin/Enrollment.jsp";
				break;
			}
			case "track":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_track";
				//Admin/Track.jsp";
				break;
			}
			case "question":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_question";
				//Admin/QuestionBank/QuestionEntry.jsp";
				break;
			}
			case "setting":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_setting";
				//virtualLEARN_ACL/jsp/index.jsp";
				break;
			}
			case "report":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=admin_report";
				//Admin/ReportMenu.jsp";
				break;
			}
		}
	}
	else if(mode=="Agent")
	{
		switch(val)
		{
			case "browse":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_browse";
				//Admin/Create_Meeting.jsp";
			break;
			}
			case "Meeting":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_meeting";
				//Agent/Create_Meeting.jsp";
			break;
			}
			case "schedule":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_schedule";
				//Agent/Main.jsp";
				break;
			}
			case "timesheet":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_timesheet";
				//Agent/TimeSheetEntry.jsp";
				break;
			}

			case "question":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_question";
				//Agent/TimeSheetEntry.jsp";
				break;
			}

			case "feedback":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_feedback";
				//Agent/FeedBack.jsp";
				break;
			}
			case "notes":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_notes";
				//Agent/Notes_of_Lession.jsp";
				break;
			}
			case "track":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=agent_track";
				//Agent/StudentDiary.jsp";
				break;
			}
		}
	}
	else if(mode=="Client")
	{
		switch(val)
		{
			case "browse":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_browse";
				//Agent/Create_Meeting.jsp";
			break;
			}
			case "schedule":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_schedule";
				//Agent/Create_Assignment.jsp";
				break;
			}
			case "track":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_track";
				//Agent/TimeSheetEntry.jsp";
				break;
			}
			case "feedback":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_feedback";
				//Agent/FeedBack.jsp";
				break;
			}
			case "status":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_status";
				//Agent/Create_Assignment.jsp";
				break;
			}
			case "meeting":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_meeting";
				//Agent/TimeSheetEntry.jsp";
				break;
			}
			case "history":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_history";
				//Agent/FeedBack.jsp";
				break;
			}
		}
	}
	else if(mode=="Parent")
	{
		switch(val)
		{
			case "browse":
			{
				//obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_browse";
				//Agent/Create_Meeting.jsp";
			break;
			}
			case "schedule":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_schedule";
				//Agent/Create_Assignment.jsp";
				break;
			}
			case "track":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=parent_track";
				//Agent/TimeSheetEntry.jsp";
				break;
			}
			case "feedback":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=client_feedback";
				//Agent/FeedBack.jsp";
				break;
			}
			case "status":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=parent_status";
				//Agent/Create_Assignment.jsp";
				break;
			}
			case "meeting":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=parent_meeting";
				//Agent/TimeSheetEntry.jsp";
				break;
			}
			case "history":
			{
				obj.action = ServerPath()+"jsp/Session_Update.jsp?menu=parent_history";
				//Agent/FeedBack.jsp";
				break;
			}
		}
	}
	obj.submit();
}

