﻿var SystemContentItem = Class.extend({ 
	init: function(oTitle,
				   oContent) {

	    this.title = oTitle;
		this.content = oContent;
	}
});


var Portfolio = Class.extend({
  init: function(portfolioTitle) {
  				
	this.portfoliotitle = portfolioTitle;
  }
});


var courses = Class.extend({

  init: function(courseid,
  			 title, 
  			 courseContent, 
  			 urlLinks, 
  			 image,
  			 SignUpLink,
  			 portfolioName,
  			 ispopular,
  			 isexample,
  			 AboutDesc,
  			 FeaturedCourse,
  			 FeaturedCourseTime,
  			 French_Title,
  			 French_Desc,
  			 French_Content,
  			 Price,
  			 PaymentOptions,
  			 PaymentLink) {
  			 
  	this.courseid = courseid;
  	this.title = title;
  	this.courseContent = courseContent;
  	this.urlLinks = urlLinks;
 	this.image = image;
 	this.signuplink = SignUpLink;
 	this.portfolioName = portfolioName;
	this.ispopular = ispopular;
	this.isexample = isexample;
	this.AboutDesc = AboutDesc;
	this.FeaturedCourse = FeaturedCourse;
	this.FeaturedCourseTime = FeaturedCourseTime;
	this.French_Title = French_Title;
	this.French_Desc = French_Desc;
	this.French_Content = French_Content;
	this.Price = Price;
	this.PaymentOptions = PaymentOptions;
	this.PaymentLink = PaymentLink;
  }
}); 


var pageContent = Class.extend({
  init: function(id,
  			  title,
  			  aboutDesc,
  			  aboutELearning,
  			  aboutClassroomCourses,
  			  aboutPortfolio,
  			  aboutClassroomImage,
  			  courseCatalogLink,
  			  takeCourseLink,
  			  developTrainLinks,
  			  aboutELearningImage,
  			  aboutPortfolioImage,
  			  aboutHomeImage,
  			  indexDesc,
  			  TechnicalAssistanceEmail,
  			  TechnicalAssistancePhone,
  			  GroupSalesEmail,
  			  GroupSalesPhone,
  			  AboutNavImage,
  			  AboutTestimonialImage,
  			  AboutTestimonialDesc) {
  			  
  	  this.id = id; 
	  this.title = title;
	  this.aboutDesc = aboutDesc;
	  this.aboutELearning = aboutELearning;
	  this.aboutClassroomCourses = aboutClassroomCourses;
	  this.aboutPortfolio = aboutPortfolio;
	  this.aboutClassroomImage = aboutClassroomImage;
	  this.courseCatalogLink = courseCatalogLink;
	  this.takeCourseLink = takeCourseLink;
	  this.developTrainLinks = developTrainLinks;
	  this.aboutELearningImage = aboutELearningImage;
	  this.aboutPortfolioImage = aboutPortfolioImage;
	  this.aboutHomeImage = aboutHomeImage;
	  this.indexDesc = indexDesc;
	  this.TechnicalAssistanceEmail = TechnicalAssistanceEmail; 
	  this.TechnicalAssistancePhone = TechnicalAssistancePhone; 
	  this.GroupSalesEmail = GroupSalesEmail;
	  this.GroupSalesPhone = GroupSalesPhone; 
	  this.AboutNavImage = AboutNavImage; 
	  this.AboutTestimonialImage = AboutTestimonialImage;
	  this.AboutTestimonialDesc = AboutTestimonialDesc;
  }
});

var Testimonial = Class.extend({
  init: function(testimonialID,
  				title,
  				organization,
  				testDesc,
  				TestimonialImage) {
  				
	this.testimonialID = testimonialID;
	this.title = title;
	this.organization = organization;
	this.testDesc = testDesc;
	this.TestimonialImage = TestimonialImage;
  }
});

var Portfolio = Class.extend({
  init: function(portfolioTitle) {
  				
	this.portfoliotitle = portfolioTitle;
  }
});



function searchSubmit() {
			
/*		var searchText = document.getElementById('searchInput').value;
		if(searchText != '')
		{
			document.location.href = "../sitesearch.html?s=" + searchText;
		}
		return false; */
}


