// JScript source code
//<!--

/*
			var offsetfromedge=10 //offset from window edge when content is "docked". Change if desired.
			var dockarray=new Array() //array to cache dockit instances
			var dkclear=new Array() //array to cache corresponding clearinterval pointers

			function dockit(el, duration){
			if (!document.all) return;
			this.source=document.all? document.all[el] : document.getElementById(el);
			this.source.height=this.source.offsetHeight;
			this.docheight=truebody().clientHeight;
			this.duration=duration;
			this.pagetop=0;
			this.elementoffset=this.getOffsetY();
			dockarray[dockarray.length]=this;
			var pointer=eval(dockarray.length-1);
			var dynexpress='dkclear['+pointer+']=setInterval("dockornot(dockarray['+pointer+'])",100);';
			dynexpress=(this.duration>0)? dynexpress+'setTimeout("clearInterval(dkclear['+pointer+']); dockarray['+pointer+'].source.style.top=0", duration*1000)' : dynexpress;
			eval(dynexpress);
			}

			dockit.prototype.getOffsetY=function(){
			var totaloffset=parseInt(this.source.offsetTop);
			var parentEl=this.source.offsetParent;
			while (parentEl!=null){
			totaloffset+=parentEl.offsetTop;
			parentEl=parentEl.offsetParent;
			}
			return totaloffset;
			}

			function dockornot(obj){
			obj.pagetop=truebody().scrollTop;
			if (obj.pagetop>obj.elementoffset) //detect upper offset
			obj.source.style.top=obj.pagetop-obj.elementoffset+offsetfromedge;
			else if (obj.pagetop+obj.docheight<obj.elementoffset+parseInt(obj.source.height)) //lower offset
			obj.source.style.top=obj.pagetop+obj.docheight-obj.source.height-obj.elementoffset-offsetfromedge;
			else
			obj.source.style.top=0;
			}

			function truebody(){
			return (document.compatMode!="BackCompat")? document.documentElement : document.body
			}

			if (document.all)
			document.write('<style>.dockclass{position:relative;}</style>')

*/
  
  
    function open30day()
    {
        window.open("http://www.avidian.com/cart/30Day.aspx", "30", "width=500,height=370");
    }			
  
  function webinars(webID)
  {
    window.open ("https://www.avidian.com/webinarsignup.aspx?id=" + webID, "webinars", "width=690,height=830,status=yes");
    
  }
  
  
  function openhooktours()
{
    window.open ("http://hooktours.com/8085703/", "screenwindows", "width=770,height=540,resizable=yes");

}    
  
function ScreenShots(image)
{
	window.open ("../ScreenPopUp.aspx?img=" + image, "screenwindow", "width=950,height=780,resizable=yes");
}
  
function openwindow(pageURL)
{	
	window.open (pageURL, "automatedwindow", "width=520,height=535,resizable=yes");
}  
  
function FreeTrial()
{
	window.open("FreeTrialPopUp.aspx", "FreeTrial", "width=570,height=570,resizable=yes,scrollbars=no");
} 
 
function ValidateDemo()
{
	if (document.forms[0].txtDemoName.value.length == 0)
	{
		alert("Please enter your name.");
		document.forms[0].txtDemoName.focus();
		return;
	}
	if (document.forms[0].txtDemoEmail.value.length == 0)
	{
		alert("Please enter your email address.");
		document.forms[0].txtDemoEmail.focus();
		return;	
	}
	if (document.forms[0].txtDemoPhone.value.length == 0)
	{
		alert("Please enter your phone number.");
		document.forms[0].txtDemoPhone.focus();
		return;	
	}
	if (document.forms[0].Users.selectedIndex == 0)
	{
		alert("Please select how many potential users there will be.");
		document.forms[0].Users.focus();
		return;	
	}
	document.forms[0].action = "http://www.avidian.com/LiveDemoInsert.aspx";
	document.forms[0].submit();
}
 
function Chat(LinkPath)
{
	window.open ("http://www.avidian.com/chatSalesQuestion.aspx", "chatwindow", "width=520,height=470,resizable=yes");
	//window.open ("chatSalesQuestionresponse.aspx", "chatwindow", "width=520,height=470,resizable=yes");
}
 
 
function OpenScreens(URL)
{

	window.open ("../PopUpScreens.aspx?Img=" + URL, "screens", "width=740,height=650,resizable=yes");
}
 
 
function openBio(Person)
{
	PageURL="";
	
	if (Person == "James")
	{
		PageURL = "JamesBio.aspx";
	}
	else if (Person == "Tim")
	{
		PageURL = "TimBio.aspx";
	}
	else if (Person == "Scott")
	{
		PageURL = "ScottBio.aspx";
	}			
	else if (Person == "Deriek")
	{
		PageURL = "DerekBio.aspx";
	}
	else if (Person == "Susanna")
	{
		PageURL = "SusannaBio.aspx";
	}
	else if (Person == "Brian")
	{
		PageURL = "BrianBio.aspx";
	}
	else if (Person == "Warren")
	{
		PageURL = "WarrenBio.aspx";
	}
	else if (Person == "Bill")
	{
		PageURL = "BillBio.aspx";
	}
	else if (Person == "barb")
	{
		PageURL = "Barbarabio.aspx";
	}
	else if (Person == "bobby")
	{
	    PageURL = "BobbyBio.aspx";
	}
				
	window.open (PageURL, "Bios", "width=750,height=560,resizable=yes");	
}
 
function ReportsWindow(ScreenShot)
{
	window.open ("ScreenShot.aspx?s=" + ScreenShot, "reports", "width=400,height=400,resizable=yes,scrollbars=yes");
}
	/*
function openWindow(PageURL, WinWidth, WinHeight, PageName)
{
	window.open("What.aspx", "PageName","width=400,height=370");
}
  */
  
  function openEmail()
{
	window.open("http://www.avidian.com/cart/EmailPrivacy.aspx","CC","width=400,height=380");
}
  
function OpenDemo()
{
	window.open("http://www.avidian.com/flash/demo.html", "demo","width=630,height=480");
}

function OpenDemoNew()
{
	window.open("new_flash_intro2.swf", "demo2","width=560,height=245,resizable=yes");
}

function openPDFCart()
{
	window.open ("UserGuide.pdf", "PDF", "width=600,height=700,resizable=yes");
}

function openPDF(PDFType)
{
	var pageURL = "";

	if (PDFType == "UserGuide") {pageURL = "http://www.avidian.com/UserGuide.pdf"; }
	
	else if (PDFType == "Quick") {pageURL = "http://www.avidian.com/QuickStartGuide.pdf"; }
	else if (PDFType == "Server") {pageURL = "http://www.avidian.com/ServerDataSheet.pdf";}
	else if (PDFType == "ProphetData") {pageURL = "http://www.avidian.com/ProphetDataDataSheet.pdf";}
	else if (PDFType == "ServerGuide") {pageURL = "http://www.avidian.com/ProphetServerInstallationGuide.pdf";}

	window.open (pageURL, "PDF", "width=600,height=700,resizable=yes");
}

function ShowFocus()
{
	window.focus();
}
	 
function FreeOffer()
{
	var first=document.forms[0].FreeFirst.value; 
	var last=document.forms[0].FreeLast.value; 
	var email=document.forms[0].FreeEmail.value;  
	
	if (document.forms[0].FreeFirst.value == "")
	{
		alert("Please enter your first name.");
		document.forms[0].FreeFirst.focus();
		return;		
	}
	if (document.forms[0].FreeLast.value == "")
	{
		alert("Please enter your last name.");
		document.forms[0].FreeLast.focus();
		return;		
	}
	if (document.forms[0].FreeEmail.value == "")
	{
		alert("Please enter your email address.");
		document.forms[0].FreeEmail.focus();
		return;	
	}
	else
	{
		if (document.forms[0].FreeEmail.value.indexOf('@') == -1 || document.forms[0].FreeEmail.value.indexOf('.') == -1 || document.forms[0].FreeEmail.value.length <= 4)
		{
			alert("Please enter a valid email address.");
			document.forms[0].FreeEmail.focus();
			return;
		}
	}		
	window.location.href = "FreeOfferThanks.aspx?em=" + email + "&f=" + first + "&l=" + last;		
}
	 
	  /*
function openNewsletterThanks()
{
	var first=document.forms[0].FirstName.value; 
	var last=document.forms[0].LastName.value; 
	var email=document.forms[0].Email.value; 
	
	if (document.forms[0].FirstName.value == "")
	{
		alert("Please enter your first name.");
		document.forms[0].FirstName.focus();
		return;		
	}
	if (document.forms[0].LastName.value == "")
	{
		alert("Please enter your last name.");
		document.forms[0].LastName.focus();
		return;		
	}
	if (document.forms[0].Email.value == "")
	{
		alert("Please enter your email address.");
		document.forms[0].Email.focus();
		return;	
	}
	else
	{
		if (document.forms[0].Email.value.indexOf('@') == -1 || document.forms[0].Email.value.indexOf('.') == -1 || document.forms[0].Email.value.length <= 4)
		{
			alert("Please enter a valid email address.");
			document.forms[0].Email.focus();
			return;
		}
	}		
	window.open("http://www.avidian.com/NewsThanks.aspx?em=" + email + "&f=" + first + "&l=" + last, "Newsletter","width=400,height=220,resizable=yes");		
}
*/
/*
function BuyNow()
{
	window.opener.location.href = "../cart/proddetails.aspx";
}  */

function openAmbassador()
{
	window.open("Ambassador.aspx", "Ambassador","width=650,height=600,resizable=yes");	
}

function openRefer()
{
	window.open("http://rex.etelos.com/sys/nl/ai.esp?&iid=3515&cid=4c30ca5693a27fd69ad1435cfa8f5452", "Refer","width=750,height=700,resizable=yes");		
}

function openScreenShot(PageName)
{
	window.location.href="Prophet_2004_Features.aspx?n=2";
}	

function openProphetInfo(Page)
{
	if (Page == 1) { window.open("tutorials/SalesTips/customize_prophet_reports_with_user_defined_fields.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 2) { window.open("tutorials/SalesTips/Quickly_Find_Any_Email_for_a_Contact.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 3) { window.open("tutorials/SalesTips/prophetinfo.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 4) { window.open("tutorials/SalesTips/using_public_Contact_folders_in_prophet.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 5) { window.open("tutorials/SalesTips/optimizing_the_opportunity_manager.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 6) { window.open("tutorials/SalesTips/fastway_to_create_opportunity.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 7) { window.open("tutorials/SalesTips/associating-emails-appointments-and-tasks.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 8) { window.open("tutorials/SalesTips/opening-multiple-prophet-folders-at-once.aspx", "PageName","width=510,height=400,resizable=yes"); }
}

function openOutlookInfo(Page)
{
	if (Page == 1) { window.open("tutorials/OutlookTips/Create_Appointments_and_tasks_from_emails.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 2) { window.open("tutorials/OutlookTips/Save_Time_with_Open_New_Window.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 3) { window.open("tutorials/OutlookTips/outlookinfo.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 4) { window.open("tutorials/OutlookTips/show_two_time_zones_with_outlook.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 5) { window.open("tutorials/OutlookTips/using_advanced_toolbar_in_outlook.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 6) { window.open("tutorials/OutlookTips/using_autotext.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 7) { window.open("tutorials/OutlookTips/using-rules-and-alerts-to-stay-organized.aspx", "PageName","width=510,height=400,resizable=yes"); }
	if (Page == 8) { window.open("tutorials/OutlookTips/customizing-views-in-the-task-folder.aspx", "PageName","width=510,height=400,resizable=yes"); }
}

function LoadFirst() {window.focus();}	

function EmailFriend(PageURL)
{
	window.open(PageURL, "emailfriend", "width=550,height=780,resizable=yes");
}

function openTutorial(RootDir, TaskNum)
{
	window.open(RootDir + "Startup/task" + TaskNum + ".html", "tasks","width=630,height=560,resizable=yes");
}

function openSalesWin()
{
	window.open("PopSalesQuestion.aspx", "sales", "width=600,height=680,resizable=yes,scrollbars=yes");
}

function MovePage()
{
	window.opener.location.href = "/QuickTips.aspx?n=6"; 
	window.close();		
}

function openHomeFlash(Demo)
{
	window.open("http://www.avidian.com/FlashContainer.aspx?FlashType=" + Demo, "HomeFlash","width=950,height=700,resizable=yes,scrollbars=no,status=no");
	//window.open("FlashContainerDev.aspx?FlashType=" + Demo, "HomeFlash","width=950,height=701,resizable=yes,scrollbars=no,status=no");
}

function flashdemos(demo)
{
	var pageurl='';
	//if (demo == 'contactmanager') { pageurl = 'crm-demo-questionaire.aspx'; }
	
	if (demo == 'servercontactmanager') { pageurl = 'http://www.avidian.com/servercontactmanager/EasyContactManager.html'; }
	
	else if (demo == 'contactmanager') { pageurl = 'http://www.avidian.com/contactmanager/EasyContactManager.html'; }
	//else if (demo == 'contactmanager') { pageurl = 'contactmanager/EasyContactManager.html'; }
	
	
	
	//if (demo == 'servercontactmgr') { pageurl = 'Easy_Contact_Managment/Easy_Contact_Managment.html'; }
	//else if (demo == 'contactmanager') { pageurl = 'Easy_Contact_Managment/Easy_Contact_Managment.html'; }
		
	/*
	if (demo == 'contactmanager') { pageurl = 'http://www.avidian.com/Easy_Contact_Managment/Easy_Contact_Managment.html'; }
	else if (demo == 'dashboard') { pageurl = 'http://www.avidian.com/Useful_Daily_Dashboard/Useful_Daily_Dashboard.html'; }
	else if (demo == 'salesmanagement') { pageurl = 'http://www.avidian.com/Simple_Sales_Managment/Simple_Sales_Managment.html'; }
	else if (demo == 'data') { pageurl = 'http://www.avidian.com/Easily_Search_All_Activities_and_Documents/Easily_Search_All_Activities_and_Documents.html'; }
	else if (demo == 'groupemail') { pageurl = 'http://www.avidian.com/Sales_Automation_and_Group_Email/Sales_Automation_and_Group_Email.html'; }
	else if (demo == 'salesreport') { pageurl = 'http://www.avidian.com/Flexible_Report_Creation/Flexible_Report_Creation.html'; }
	else if (demo == 'sharingdata') { pageurl = 'http://www.avidian.com/sharing_sales_opportunities/sharing_sales_opportunities.html'; }
	*/	
	//else if (demo == 'dashboard') { pageurl = 'http://www.avidian.com/Useful_Daily_Dashboard/Useful_Daily_Dashboard.html'; }
	
	else if (demo == 'salesmanagement') { pageurl = 'http://www.avidian.com/Simple_Sales_Managment/Simple_Sales_Managment.html'; }
	else if (demo == 'serversalesmanagement') { pageurl = 'http://www.avidian.com/ServerSimple_Sales_Managment/Simple_Sales_Managment.html'; }
					
	else if (demo == 'data') { pageurl = 'http://www.avidian.com/Easily_Search_All_Activities_and_Documents/Easily_Search_All_Activities_and_Documents.html'; }
	else if (demo == 'serverdata') { pageurl = 'http://www.avidian.com/ServerEasily_Search_All_Activities_and_Documents/Easily_Search_All_Activities_and_Documents.html'; }
		
	else if (demo == 'groupemail') { pageurl = 'http://www.avidian.com/GroupEmail/GroupEmail.html'; }
	else if (demo == 'servergroupemail') { pageurl = 'http://www.avidian.com/ServerGroupEmail/GroupEmail.html'; }
		
	else if (demo == 'salesreport') { pageurl = 'http://www.avidian.com/Flexible_Report_Creation/Flexible_Report_Creation.html'; }
	else if (demo == 'serversalesreport') { pageurl = 'http://www.avidian.com/ServerFlexible_Report_Creation/Flexible_Report_Creation.html'; }
		
	//else if (demo == 'sharingdata') { pageurl = 'sharing_sales_opportunities/sharing_sales_opportunities.html'; }
	else if (demo == 'serversharingdata') { pageurl = 'http://www.avidian.com/Serversharing_sales_opportunities/sharing_sales_opportunities.html'; }
		
	else if (demo == 'salesopp') { pageurl = 'http://www.avidian.com/SalesOpportunity/SalesOpportunityDemo.html'; }		
	else if (demo == 'serversalesopp') { pageurl = 'http://www.avidian.com/ServerSalesOpportunity/SalesOpportunityDemo.html'; }		
		
	else if (demo == 'generator') { pageurl = 'http://www.avidian.com/Generator/QuoteGenerator.html'; }		
	else if (demo == 'servergenerator') { pageurl = 'http://www.avidian.com/ServerGenerator/QuoteGenerator.html'; }		
		
	else if (demo == 'search') { pageurl = 'http://www.avidian.com/ProphetSearch/ProphetSearchDemo.html'; }	
	else if (demo == 'serversearch') { pageurl = 'http://www.avidian.com/ServerProphetSearch/ProphetSearchDemo.html'; }	
		
	else if (demo == 'dashboard') { pageurl = 'http://www.avidian.com/ProphetToday/ProphetToday.html'; }		
	else if (demo == 'serverdashboard') { pageurl = 'http://www.avidian.com/ServerProphetToday/ProphetToday.html'; }		
		
	else if (demo == 'workflow') { pageurl = 'http://www.avidian.com/WorkflowNew/workfow_salesautomation.html'; }			
	else if (demo == 'serverworkflow') { pageurl = 'http://www.avidian.com/ServerWorkflow/workfow_salesautomation.html'; }		
		
   else 
   {
    pageurl = demo;   
   }		
		
	/*
	else if (demo == 'servercontactmgr') { pageurl = 'servercontactmanager/contactmanagerdemo.html'; }
	else if (demo == 'serversalesopp') { pageurl = 'ServerSalesOpportunity/SalesOpportunityDemo.html'; }		
	else if (demo == 'servergenerator') { pageurl = 'ServerGenerator/QuoteGenerator.html'; }		
	else if (demo == 'servergroupemail') { pageurl = 'ServerGroupEmail/GroupEmailDemo.html'; }
	else if (demo == 'serversearch') { pageurl = 'ServerProphetSearch/ProphetSearchDemo.html'; }	
	else if (demo == 'servertoday') { pageurl = 'ServerProphetToday/ProphetToday.html'; }		
	else if (demo == 'serverworkflow') { pageurl = 'ServerWorkflow/WorkflowSalesAutomation.html'; }		
	*/	
	window.open(pageurl, "NewFlashBox","resizable=yes,width=820,height=756");
	//window.open("DemoFlash.aspx?Pg=" + pageurl, "NewFlashBox", "resizable=yes,width=800,height=657");
}



function flashPOD()
{

    window.open("http://www.avidian.com/od/ondemandindividual.html", "NewFlashBox","resizable=yes,width=795,height=712");
}

function OpenTutorial(tutorial)
{
	var pageurl = '';	
	//if (tutorial == '1') { pageurl='learningcenterframe.asp'; }
	if (tutorial == '1') { pageurl='creating_contact_and_company_recordsv2/Creating_Contact_and_Company_Records.asp'; }
	if (tutorial == '2') { pageurl='prophet_overview/prophet_overview.asp'; }
	if (tutorial == '3') { pageurl='Managing_Contacts_and_Companies_Records/Managing_Contact_and_Company_Records.asp'; }
	if (tutorial == '4') { pageurl='Creating_Opportunities/Creating_Opportunities.asp'; }
	if (tutorial == '5') { pageurl='Tracking_information_in_the_opportunity_window/Tracking_information_in_the_opportunity_window.asp'; }
	if (tutorial == '6') { pageurl='Looking_up_saved_Opportunities/Looking_up_saved_Opportunities.asp'; }
	if (tutorial == '7') { pageurl='Managing_follow_up_tasks/Managing_follow_up_tasks.asp'; }
	if (tutorial == '8') { pageurl='Customizing_the_Opportunity_Window/Customizing_the_Opportunity_Window.asp'; }
	if (tutorial == '9') { pageurl='Prophet_Standard_Reports/Prophet_Standard_Reports.asp'; }
	
	if (tutorial == '10') { pageurl='Creating_Custom_Reports/Creating_Custom_Reports.asp'; }
	if (tutorial == '11') { pageurl='Prophet_Search/Prophet_Search.asp'; }
	if (tutorial == '12') { pageurl='Sharing_Sales_OpportunitiesTutorial/Sharing_Sales_OpportunitiesTutorial.asp'; }
	if (tutorial == '13') { pageurl='Managing_Emails_Associated_with_Opportunities/Managing_Emails_Associated_with_Opportunities.asp'; }
	if (tutorial == '14') { pageurl='Managing_Tasks_Associate_With_Opportunities/Managing_Tasks_Associate_With_Opportunities.asp'; }
	if (tutorial == '15') { pageurl='Tracking_Information_In_Opportunities_Part1/Tracking_Information_In_Opportunities_Part1.asp'; }
	if (tutorial == '16') { pageurl='Tracking_Information_In_Opportunities_Part2/Tracking_Information_In_Opportunities_Part2.asp'; }
	if (tutorial == '17') { pageurl='Adding_Contacts/Adding_Contacts.asp'; }
	if (tutorial == '18') { pageurl='Creating_Groups_for_your_Company_Records/Creating_Groups_for_your_Company_Records.asp'; }
	if (tutorial == '19') { pageurl='Creating_New_Company_Records/Creating_New_Company_Records.asp'; }	
	if (tutorial == '20') { pageurl='Looking_up_Contacts/Looking_up_Contacts.asp'; }	
	if (tutorial == '21') { pageurl='Creating_Groups_for_your_Contacts/Creating_Groups_for_your_Contacts.asp'; }
	if (tutorial == '22') { pageurl='Adding_Notes_to_Contacts/Adding_Notes_to_Contacts.asp'; }
	if (tutorial == '23') { pageurl='Searching_for_data_on_Contacts/Searching_for_data_on_Contacts.asp'; }
	if (tutorial == '24') { pageurl='Deleting_Contacts_from_Contact_Manager/Deleting_Contacts_from_Contact_Manager.asp'; }
	if (tutorial == '25') { pageurl='Looking_up_Company_records/Looking_up_Company_records.asp'; }
	if (tutorial == '26') { pageurl='associating_contacts_to_company_records/associating_contacts_to_company_records.asp'; }
	if (tutorial == '27') { pageurl='Adding_Notes_to_ your_Company_Records/Adding_Notes_to_ your_Company_Records.asp'; }	
	if (tutorial == '28') { pageurl='Cleaning_up_your_Company_Records/Cleaning_up_your_Company_Records.asp'; }
	if (tutorial == '29') { pageurl='Customizing_the_Opportunity_Window/Customizing_the_Opportunity_Window.asp'; }
	if (tutorial == '30') { pageurl='Introduction_To_The_Opportunity_Window/Introduction_To_The_Opportunity_Window.asp'; }
	if (tutorial == '31') { pageurl='Sales_Assistant/Sales_Assistant.asp'; }
	if (tutorial == '32') { pageurl='Workflow/Workflow.asp'; }
	if (tutorial == '33') { pageurl='Report_Overview/Report_Overview.asp'; }
	if (tutorial == '34') { pageurl='Standard_Pipeline_reports/Standard_Pipeline_reports.asp'; }
	if (tutorial == '35') { pageurl='Custom_Pipeline_Report/Custom_Pipeline_Report.asp'; }
	if (tutorial == '36') { pageurl='Standard_Account_Sale_Reports/Standard_Account_Sale_Reports.asp'; }			
	if (tutorial == '37') { pageurl='Standard_Won_Loss_Report/Standard_Won_Loss_Report.asp'; }
	if (tutorial == '38') { pageurl='Filtering_and_Sorting_Reports_in_Report_Manager/Filtering_and_Sorting_Reports_in_Report_Manager.asp'; }
	if (tutorial == '39') { pageurl='Viewing_Reports_In_Excel/Viewing_Reports_In_Excel.asp'; }
	if (tutorial == '40') { pageurl='Introduction_to_the_Outlook_Contact_Item/Introduction_to_the_Outlook_Contact_Item.asp'; }
	if (tutorial == '41') { pageurl='Managing_Your_Outlook_Contact_Part_1/Managing_Your_Outlook_Contact_Part_1.asp'; }
	if (tutorial == '42') { pageurl='Managing_Your_Outlook_Contact_Part_2/Managing_Your_Outlook_Contact_Part_2.asp'; }
	if (tutorial == '43') { pageurl='Assigning_a_category_to_a_group_of_contacts/Assigning_a_category_to_a_group_of_contacts.asp'; }
	if (tutorial == '44') { pageurl='Using_Outlook_Tasks/Using_Outlook_Tasks.asp'; }
	if (tutorial == '45') { pageurl='Creating_Contacts_from_an_Email/Creating_Contacts_from_an_Email.asp'; }
	if (tutorial == '46') { pageurl='Moving_Contacts_Between_Different_Outlook_Contact_Folders/Moving_Contacts_Between_Different_Outlook_Contact_Folders.asp'; }
	if (tutorial == '47') { pageurl='Auto_Text_Templates/Auto_Text_Templates.asp'; }
	if (tutorial == '48') { pageurl='Importing_Contacts_From_Excel_Into_Outlook/Importing_Contacts_From_Excel_Into_Outlook.asp'; }
		
	if (tutorial == '49') { pageurl='ContactReportByCategory/ContactReportByCategory.asp'; }
	if (tutorial == '50') { pageurl='ImportContactsfromExcel/ImportContactsfromExcel.asp'; }
	if (tutorial == '51') { pageurl='CreateMailMergeForProspects/CreateMailMergeForProspects.asp'; }
				
	window.open(pageurl, "Newtutorial","resizable=yes,width=800,height=665");	
}

function ShowImg(ShowPath)
{
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox3_3.jpg border=0>');
	/*
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox3_10.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox3_17.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox3_24.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox3_31.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox4_7.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox4_14.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox4_21.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox4_28.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox5_5.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox5_12.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox5_19.jpg border=0>');
	document.write('<img src=' + ShowPath + 'gfx/prophet3_probox5_26.jpg border=0>');
	*/
}

function openPic(Img)
{
	if (Img == "wm_opptymngr.jpg") 
	{
		window.open("ImageLarge.aspx", "ImagePage","width=980,height=810,resizable=yes,scrollbars=no,status=no");
	}
	else
	{
		window.open("Image.aspx?Img=" + Img, "ImagePage","width=320,height=520,resizable=yes,scrollbars=no,status=no");
	}
}

function MainWindowSales()
{
	window.opener.location.href="http://www.avidian.com/salesquestions.aspx";		
	window.close();				
}

function MainWindowBuy()
{
	window.opener.location.href="https://www.avidian.com/cart/proddetails.aspx";	
	window.close();					
}

function MainWindow(URL)
{
	window.opener.location.href="http://www.avidian.com/" + URL;
	window.opener.focus();
	window.close();
}

function HomePage()
{
	window.opener.location.href="http://www.avidian.com";						
}

//-->














