function CCollection() {

     var lsize = 0;

     this.add = _add;

     this.remove = _remove;

     this.isEmpty = _isEmpty;

     this.size = _size;

     this.clear = _clear;

     function _add(newItem) {

          if (newItem == null) return;

          lsize++;

          this[(lsize - 1)] = newItem;

     }

     function _remove(index) {

          if (index < 0 || index > this.length - 1) return;

          this[index] = null;

          for (var i = index; i <= lsize; i++)

               this[i] = this[i + 1];

          lsize--;

     }

     function _isEmpty() { return lsize == 0 }     

     function _size() { return lsize }    

     function _clear() {

          for (var i = 0; i < lsize; i++)

               this[i] = null;

          lsize = 0;

     }

}

function FeaturedIndustry(industry){

  this.industryName=industry;

  this.apparea_size=0;

	this.image;
	
this.order;
	this.htmlName;

	this.sptr;

	this.teaser;

	this.appAreaName = new Array();

}

FeaturedIndustry.prototype.getName = function(){

  return this.industryName;

}

FeaturedIndustry.prototype.setHtmlName = function(hname){

  return this.htmlName = hname;

}

FeaturedIndustry.prototype.getHtmlName = function(){

  return this.htmlName;

}

FeaturedIndustry.prototype.getLink = function(){

  return "/sfs/SFS/en/IndustryApplications/IndustryDetail/"+formatField(this.htmlName)+".html";

}

FeaturedIndustry.prototype.addApplicationArea = function(AppAreaName){

  this.appAreaName[this.apparea_size++]=AppAreaName;

}

FeaturedIndustry.prototype.setImage = function(Image){

  this.image=Image;

}

FeaturedIndustry.prototype.getImage = function(){

    return "http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=60&Height1=60&Unit1=Pixels&Format1=png";

}

FeaturedIndustry.prototype.getImageID = function(){

    return this.image;

}

FeaturedIndustry.prototype.setTeaser = function (Teaser){

  this.teaser=Teaser;

}

FeaturedIndustry.prototype.getTeaser = function (){

  return this.teaser;

}

FeaturedIndustry.prototype.setOrder = function (Order){

  this.order=Order;

}

FeaturedIndustry.prototype.getOrder = function (){

  return this.order;

}



FeaturedIndustry.prototype.getAppAreaSize = function (){

  return this.apparea_size;

}

FeaturedIndustry.prototype.getApplicationArea = function(idx){

  return this.appAreaName[idx];

}

FeaturedIndustry.prototype.setServletParameter = function(ptr){

  this.sptr=ptr;

}

FeaturedIndustry.prototype.getServletParameter = function(){

  return this.sptr;

}

FeaturedIndustry.prototype.getLiteratureLink = function(){

  return "/sfsapp/SFS/servlet/ProductsAndServices/Literature/IndustryLiteratureServlet?actionPerformed=LoadServlet&industry="+URLEncode(this.htmlName);

}

function OtherIndustry(industry){

  this.industryName=industry;

  this.apparea_size=0;

	this.image;

	this.htmlName;

	this.sptr;

	this.teaser;

	this.appAreaName = new Array();

}

OtherIndustry.prototype.setHtmlName = function(hname){

  return this.htmlName = hname;

}

OtherIndustry.prototype.getName = function(){

  return this.industryName;

}

OtherIndustry.prototype.getHtmlName = function(){

  return this.htmlName;

}

OtherIndustry.prototype.getLink = function(){

  return "/sfs/SFS/en/IndustryApplications/IndustryDetail/"+formatField(this.htmlName)+".html";

}

OtherIndustry.prototype.addApplicationArea = function(AppAreaName){

  this.appAreaName[this.apparea_size++]=AppAreaName;

}

OtherIndustry.prototype.setImage = function(Image){

  this.image=Image;

}

OtherIndustry.prototype.getImage = function(){

    return "http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=60&Height1=60&Unit1=Pixels&Format1=png";

}

OtherIndustry.prototype.getImageID = function(){

    return this.image;

}

OtherIndustry.prototype.setTeaser = function (Teaser){

  this.teaser=Teaser;

}

OtherIndustry.prototype.getTeaser = function (){

  return this.teaser;

}

OtherIndustry.prototype.getAppAreaSize = function (){

  return this.apparea_size;

}

OtherIndustry.prototype.getApplicationArea = function(idx){

  return this.appAreaName[idx];

}

OtherIndustry.prototype.setServletParameter = function(ptr){

  this.sptr=ptr;

}

OtherIndustry.prototype.getServletParameter = function(){

  return this.sptr;

}

OtherIndustry.prototype.getLiteratureLink = function(){

  return "/sfsapp/SFS/servlet/ProductsAndServices/Literature/IndustryLiteratureServlet?actionPerformed=LoadServlet&industry="+URLEncode(this.htmlName);

}

function ApplicationArea(AppArea){

  this.app_size=0;

	this.appAreaName=AppArea;

	this.appName = new Array();

	this.getName=_getName;

	this.getAppSize=_getAppSize;

	this.addApplication=_addApplication;

	this.getApplication=_getApplication;

	function _getName(){

    return this.appAreaName;

  }

  function _addApplication(App){

    this.appName[this.app_size++]=App;

  }

  function _getAppSize(){

    return this.app_size;

  }

  function _getApplication(idx){

     return this.appName[idx];

  }

}

function Application(App){

	this.appName=App;

	this.htmlName;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setHtmlName=_setHtmlName;

	this.getHtmlName=_getHtmlName;

	function _getHtmlName(){

	   return this.htmlName;

  }

	function _getName(){

	   return this.appName;

  }

	function _setHtmlName(Name){

	   this.htmlName=Name;

  }

	function _getLink(){

	  var temp=formatField(this.htmlName);

    temp=temp.replace(/\$/g,"_");

    return "/sfs/SFS/en/IndustryApplications/ApplicationsDetail/"+temp+".html";

  }

}

function VisualFX(effect){

	this.effectName=effect;

	this.image;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setImage=_setImage;

	this.getImage=_getImage;

	function _getName(){

	   return this.effectName;

  }

	function _getImage(){

    return "http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=100&Height1=100&Unit1=Pixels&Format1=png";

  }

	function _setImage(img){

    this.image=img;    

  }

	function _getLink(){

    return "/sfs/SFS/en/ProductsAndServices/EffectDetailVisualFX/"+formatField(this.effectName)+".html";

  }

}

function ChinaPalette(effect){

	this.effectName=effect;

	this.image;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setImage=_setImage;

	this.getImage=_getImage;

	function _getName(){

	   return this.effectName;

  }

	function _getImage(){

    return "http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=100&Height1=100&Unit1=Pixels&Format1=png";

  }

	function _setImage(img){

    this.image=img;    

  }

	function _getLink(){

    return "/sfs/SFS/en/ProductsAndServices/EffectDetailChinaPalette/"+formatField(this.effectName)+".html";

  }

}

function IMD(effect){

	this.effectName=effect;

	this.image;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setImage=_setImage;

	this.getImage=_getImage;

	function _getName(){

	   return this.effectName;

  }

	function _getImage(){

    return "http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=100&Height1=100&Unit1=Pixels&Format1=png";

  }

	function _setImage(img){

    this.image=img;    

  }

	function _getLink(){

    return "/sfs/SFS/en/ProductsAndServices/EffectDetailIMD/"+formatField(this.effectName)+".html";

  }

}

function PerformanceProperty(PerfProp){

	this.perfProp=PerfProp;

	this.sptr;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setServletParameter=_setServletParameter;

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

	function _getName(){

	   return this.perfProp;

  }

	function _getLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.sptr;

  }

}

function PolymerType(PolType){

	this.polType=PolType;

  this.sptr;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setServletParameter=_setServletParameter;

	function _getName(){

	   return this.polType;

  }

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

	function _getLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?actionPerformed=LoadServlet?"+this.sptr;

  }

}

function FamilyGroup(GroupName){

  this.prd_size=0;

	this.familyGroupName=GroupName;

	this.productFamilyName = new Array();

	this.teaser;

	this.image;
	
	this.order;

  this.lang_name;

	this.getLink=_getLink;

	this.addProductFamilyName=_addProductFamilyName;

	this.getProductFamilyName=_getProductFamilyName;

	this.getProductFamilyNameSize=_getProductFamilyNameSize;

	this.getName=_getName;

	this.setImage=_setImage;

	this.getImage=_getImage;
	
	this.setOrder=_setOrder;

	this.getOrder=_getOrder;

	this.setLangName=_setLangName;

	this.getLangName=_getLangName;

	this.setTeaser=_setTeaser;

	this.getTeaser=_getTeaser;

  function _getName() {

    return this.familyGroupName;

  }

	function _getImage(){

    return "http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=60&Height1=60&Unit1=Pixels&Format1=png";

  }

	function _setImage(img){

    this.image=img;

  }

  function _getTeaser() {

    return this.teaser;

  }
  
  function _getOrder() {

    return this.order;

  }

	function _setLangName(lname){

    this.lang_name=lname;

  }

  function _getLangName() {

    return this.lang_name;

  }

  function _setTeaser(tsr) {

    this.teaser=tsr;

  }
  
  function _setOrder(ord) {

    this.order=ord;

  }

	function _getLink(){

    return "/sfs/SFS/en/Product/ProductLevel1/"+formatField(this.familyGroupName)+".html";

  }

  function _addProductFamilyName(ProdFamName){

    this.productFamilyName[this.prd_size++]=ProdFamName;

  }

  function _getProductFamilyNameSize(){

    return this.prd_size;

  }

  function _getProductFamilyName(idx){

    return this.productFamilyName[idx];

  }

}

function ProductFamilyName(FamilyName){

  this.ser_size=0;

  this.perf_prop_size=0;

  this.pol_type_size=0;

  this.prod_fam_size=0;

	this.productFamilyName=FamilyName;

  this.genName;

  this.tmName;

  this.grpName;

	this.productSeries = new Array();

	this.perfProp = new Array();

	this.polType = new Array();

	this.prodFam = new Array();

  this.sptr;

  this.lang_name;

  this.allseriesptr;

	this.getLink=_getLink;

	this.addSeries=_addSeries;

	this.addPerformanceProperty=_addPerformanceProperty;

	this.addPolymerType=_addPolymerType;

	this.addProductFamily=_addProductFamily;

  this.getName=_getName;

	this.getPolymerType=_getPolymerType;

	this.getGenericName=_getGenericName;

	this.setGenericName=_setGenericName;

	this.setTradeMarkName=_setTradeMarkName;

	this.getTradeMarkName=_getTradeMarkName;

	this.getGroupName=_getGroupName;

	this.setGroupName=_setGroupName;

	this.getProductFamily=_getProductFamily;

	this.getProductSeries=_getProductSeries;

	this.getPerformanceProperty=_getPerformanceProperty;

	this.getPolymerTypeSize=_getPolymerTypeSize;

	this.getProductFamilySize=_getProductFamilySize;

	this.getProductSeriesSize=_getProductSeriesSize;

	this.getPerformancePropertySize=_getPerformancePropertySize;

	this.setServletParameter=_setServletParameter;

	this.getServletParameter=_getServletParameter;

  this.getLiteratureLink=_getLiteratureLink;

  this.setAllSeriesParameter=_setAllSeriesParameter;

	this.getAllSeriesParameter=_getAllSeriesParameter;

  this.getAllSeriesLink=_getAllSeriesLink;

  this.setLangName=_setLangName;

  this.getLangName=_getLangName;

	function _setLangName(lname){

    this.lang_name=lname;

  }

  function _getLangName() {

    return this.lang_name;

  }

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

  function _getServletParameter(){

    return this.sptr;

  }

  function _setAllSeriesParameter(ptrm){

    this.allseriesptr=ptrm;

  }

  function _getAllSeriesParameter(){

    return this.allseriesptr;

  }

  function _getAllSeriesLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.allseriesptr;

    }

  function _setGenericName(gname){

    this.genName=gname;

  }

  function _getGenericName(){

    return this.genName;

  }

  function _setGroupName(gname){

    this.grpName=gname;

  }

  function _setTradeMarkName(tname){

    this.tmName=tname;

  }

  function _getTradeMarkName(){

    return this.tmName;

  }

  function _getGroupName(){

    return this.grpName;

  }

  function _getLiteratureLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Literature/ProductLiteratureServlet?actionPerformed=LoadServlet&product="+URLEncode(this.productFamilyName)+"&famgrp="+URLEncode(this.grpName)+"&tname="+URLEncode(this.tmName);

  }

	function _getName(){

	   return this.productFamilyName;

  }

	function _getLink(){

    return "/sfs/SFS/en/Product/ProductLevel2/"+formatField(this.productFamilyName)+".html";

  }

  function _addSeries(ProdSer) {

    this.productSeries[this.ser_size++]=ProdSer;

  }

  function _addPerformanceProperty(PerfProp) {

    this.perfProp[this.perf_prop_size++]=PerfProp;

  }

  function _addPolymerType(PolType) {

    this.polType[this.pol_type_size++]=PolType;

  }

  function _addProductFamily(ProdFam) {

    this.prodFam[this.prod_fam_size++]=ProdFam;

  }

  function _getPerformancePropertySize(){

     return this.perf_prop_size;

  }

  function _getProductSeriesSize(){

     return this.ser_size;

  }

  function _getPolymerTypeSize(){

     return this.pol_type_size;

  }

  function _getProductFamilySize(){

     return this.prod_fam_size;

  }

  function _getPerformanceProperty(idx){

     return this.perfProp[idx];

  }

  function _getProductSeries(idx){

     return this.productSeries[idx];

  }

  function _getPolymerType(idx){

     return this.polType[idx];

  }

  function _getProductFamily(idx){

     return this.prodFam[idx];

  }

}

function ProductSeries(SerName){

	this.serName=SerName;

	this.serTeaser;

	this.sptr;

	this.lang_name;

	this.setTeaser=_setTeaser;

	this.getLink=_getLink;

	this.setLangName=_setLangName;

	this.getLangName=_getLangName;

	this.getTeaser=_getTeaser;

	this.setServletParameter=_setServletParameter;

	this.getName=_getName;

	function _setLangName(lname){

    this.lang_name=lname;

  }

  function _getLangName() {

    return this.lang_name;

  }

	function _getName(){

	   return this.serName;

  }

  function _setTeaser(teaser){

    this.serTeaser=teaser;

  }

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

	function _getLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.sptr;

  }

	function _getTeaser(){

    return this.serTeaser;

  }

}

function ProductFamily(FamName){

  this.series_size=0;

	this.famName=FamName;

	this.famTeaser;

	this.sptr;

	this.allfamilyptr;

	this.htmlName;

	this.familySeries = new Array();

  this.lang_name;

	this.addFamilySeries=_addFamilySeries;

	this.getFamilySeries=_getFamilySeries;

	this.getFamilySeriesSize=_getFamilySeriesSize;

  this.setTeaser=_setTeaser;

	this.getLink=_getLink;

	this.getTeaser=_getTeaser;

	this.setServletParameter=_setServletParameter;

	this.setHtmlName=_setHtmlName;

	this.getName=_getName;

	this.setAllFamilyParameter=_setAllFamilyParameter;

	this.getAllFamilyParameter=_getAllFamilyParameter;

  this.getAllFamilyLink=_getAllFamilyLink;

	this.setLangName=_setLangName;

	this.getLangName=_getLangName;

	function _setLangName(lname){

    this.lang_name=lname;

  }

  function _getLangName() {

    return this.lang_name;

  }

  function _setAllFamilyParameter(ptrm){

    this.allfamilyptr=ptrm;

  }

  function _getAllFamilyParameter(){

    return this.allfamilyptr;

  }

  function _getAllFamilyLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.allfamilyptr;

    }

	function _getName(){

	   return this.famName;

  }

  function _setTeaser(teaser){

    this.famTeaser=teaser;

  }

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

  function _setHtmlName(htmlname){

    this.htmlName=htmlname;

  }

	function _getLink(){

    return "/sfs/SFS/en/Product/ProductFamilyNameProductFamily/"+(formatField(this.htmlName)).replace('$','_')+".html";

  }

	function _getTeaser(){

    return this.famTeaser;

  }

  function _addFamilySeries(FamSer) {

    this.familySeries[this.series_size++]=FamSer;

  }

  function _getFamilySeriesSize(){

     return this.series_size;

  }

  function _getFamilySeries(idx){

    return this.familySeries[idx];

  }

}

function FamilySeries(FamSerName){

	this.serName=FamSerName;

	this.FamserTeaser;

	this.sptr;

	this.lang_name;

	this.setTeaser=_setTeaser;

	this.getLink=_getLink;

	this.getTeaser=_getTeaser;

	this.setServletParameter=_setServletParameter;	

	this.getName=_getName;

	this.setLangName=_setLangName;

	this.getLangName=_getLangName;

	function _setLangName(lname){

    this.lang_name=lname;

  }

  function _getLangName() {

    return this.lang_name;

  }

	function _getName(){

	   return this.serName;

  }

  function _setTeaser(teaser){

    this.FamserTeaser=teaser;

  }

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

	function _getLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.sptr;

  }

	function _getTeaser(){

    return this.FamserTeaser;

  }

}

function ProductPolymerType(PolType){

	this.polType=PolType;

	this.sptr;

	this.getLink=_getLink;

	this.getName=_getName;

	this.setServletParameter=_setServletParameter;

	function _getName(){

	   return this.polType;

  }	

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

	function _getLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.sptr;

  }

}

function ProductPerformanceProperty(PerfProp){

	this.perfProp=PerfProp;

	this.sptr;

	this.getLink=_getLink;

	this.setServletParameter=_setServletParameter;

	this.getName=_getName;

	function _getName(){

	   return this.perfProp;

  }	

  function _setServletParameter(ptr){

    this.sptr=ptr;

  }

  function _getLink(){

    return "/sfsapp/SFS/servlet/ProductsAndServices/Grades/GradeServlet?search=Search&"+this.sptr;

  }

}

function Country(CountryName){

    this.st_size=0;

  	this.countryName=CountryName;

  	this.state = new Array();

  	this.getName=_getName;

  	this.getStateName=_getStateName;

  	this.getCountryName=_getCountryName;

  	this.addState=_addState;

    this.getStateSize=_getStateSize;

    function _getName() {

        return this.countryName;                                                                                       

    }

    function _getCountryName() {

        return this.countryName;                                 

    }

    function _addState(newState) {

      this.state[this.st_size++]=newState;

    }

    function _getStateSize(){

      return this.st_size;

    }

    function _getStateName(id) {

        return (this.state[id]).getStateName();

    }

  }

  function State(StateName){

  	this.stateName=StateName;

    this.getStateName=_getStateName;

    function _getStateName() {

          return this.stateName;

    }

  }

  function Form(FormName){

    this.prd_size=0;

  	this.formName=FormName;

  	this.product = new Array();

  	this.getName=_getName;

  	this.getFormName=_getFormName;

  	this.getProductName=_getProductName;

  	this.addProduct=_addProduct;

    this.getProductSize=_getProductSize;

    function _getName() {

        return this.formName;                                                                                       

    }

    function _getFormName() {

        return this.formName;                                 

    }

    function _addProduct(newProduct) {

      this.product[this.prd_size++]=newProduct;

    }

    function _getProductSize(){

      return this.prd_size;

    }

    function _getProductName(id) {

        return (this.product[id]).getProductName();

    }

  }

  function Product(ProductName){

  	this.productName=ProductName;

    this.getProductName=_getProductName;

    function _getProductName() {

          return this.productName;

    }

  }

function displaySolArea(){

}

function addSolAreaJS(){

}  

function URLEncode(ptr)

{

	// The Javascript escape and unescape functions do not correspond

	// with what browsers actually do...

	var SAFECHARS = "0123456789" +					// Numeric

					"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +	// Alphabetic

					"abcdefghijklmnopqrstuvwxyz" +

					"-_.!~*'()";					// RFC2396 Mark characters

	var HEX = "0123456789ABCDEF";

	var plaintext = ptr;

	var encoded = "";

	for (var i = 0; i < plaintext.length; i++ ) {

		var ch = plaintext.charAt(i);

	    if (ch == " ") {

		    encoded += "+";				// x-www-urlencoded, rather than %20

		} else if (SAFECHARS.indexOf(ch) != -1) {

		    encoded += ch;

		} else {

		    var charCode = ch.charCodeAt(0);

			if (charCode > 255) {

			    alert( "Unicode Character '" 

                        + ch 

                        + "' cannot be encoded using standard URL encoding.\n" +

				          "(URL encoding only supports 8-bit characters.)\n" +

						  "A space (+) will be substituted." );

				encoded += "+";

			} else {

				encoded += "%";

				encoded += HEX.charAt((charCode >> 4) & 0xF);

				encoded += HEX.charAt(charCode & 0xF);

			}

		}

	} // for

	return encoded;

}

function URLDecode(ptr)

{

   // Replace + with ' '

   // Replace %xx with equivalent character

   // Put [ERROR] in output if %xx is invalid.

   var HEXCHARS = "0123456789ABCDEFabcdef"; 

   var encoded = ptr;

   var plaintext = "";

   var i = 0;

   while (i < encoded.length) {

       var ch = encoded.charAt(i);

	   if (ch == "+") {

	       plaintext += " ";

		   i++;

	   } else if (ch == "%") {

			if (i < (encoded.length-2) 

					&& HEXCHARS.indexOf(encoded.charAt(i+1)) != -1 

					&& HEXCHARS.indexOf(encoded.charAt(i+2)) != -1 ) {

				plaintext += unescape( encoded.substr(i,3) );

				i += 3;

			} else {

				alert( 'Bad escape combination near ...' + encoded.substr(i) );

				plaintext += "%[ERROR]";

				i++;

			}

		} else {

		   plaintext += ch;

		   i++;

		}

	} // while

   return plaintext;

};

function CaseStudy(tle){

	this.title=tle;

	this.image;

	this.link;

	this.solutionArea;

	this.prodLine = new Array();

	this.prodFamily = new Array();

	this.industry;

	this.application;

	this.description;

	this.prdFam_size=0;

	this.prdLine_size=0;

	this.getTitle=_getTitle;

	this.getImage=_getImage;

	this.getLink=_getLink;

	this.getSolutionArea=_getSolutionArea;

	this.getIndustry=_getIndustry;

	this.getApplication=_getApplication;

	this.getDescription=_getDescription;

	this.getProductFamily=_getProductFamily;

	this.getProductFamilySize=_getProductFamilySize;

	this.getProductLine=_getProductLine;

	this.getProductLineSize=_getProductLineSize;        

	this.setImage=_setImage;

	this.setLink=_setLink; 

	this.setSolutionArea=_setSolutionArea;

	this.setIndustry=_setIndustry;

	this.setApplication=_setApplication;

	this.setDescription=_setDescription;

	this.addProductFamily=_addProductFamily;

	this.addProductLine=_addProductLine;

	function _getTitle(){

	      return this.title;

	}

	function _getImage(){

      	return	"http://imageserver.geampod.kcbam.net/KBAMImagingServer/Scripts/resize.kix?FileName=http://kbam.geampod.com/KBAM/reflection/Assets/"+this.image+"&Width1=60&Height1=60&Unit1=Pixels";

	}

	function _setImage(img){

      	this.image=img;

	}    

	function _getLink(){

      	return this.link;

	}

	function _setLink(lnk){

		this.link = lnk;

	}

	function _getSolutionArea(){

		return this.solutionArea;

	}

	function _setSolutionArea(soln){

		this.solutionArea = soln;

	}

	function _getIndustry(){

		return this.industry;

	}

	function _setIndustry(ind){

		this.industry = ind;

	}

	function _getApplication(){

		return this.application;

	}

	function _setApplication(appln){

		this.application = appln;

	}

	function _getDescription(){

		return this.description;

	}

	function _setDescription(descr){

		this.description = descr;

	}    

	function _addProductFamily(ProdFamName){

		this.prodFamily[this.prdFam_size++]=ProdFamName;

	}

	function _getProductFamilySize(){

		return this.prdFam_size;

	}

	function _getProductFamily(idx){

		return this.prodFamily[idx];

	}

	function _addProductLine(ProdLnName){

		this.prodLine[this.prdLine_size++]=ProdLnName;

	}

	function _getProductLineSize(){

		return this.prdLine_size;

	}

	function _getProductLine(idx){

		return this.prodLine[idx];

	} 

}

function NewProduct(tle){

	this.title=tle;

	this.link;

	this.end_date;

	this.image;

	this.teaser;

	this.solutionArea;

	this.getTitle=_getTitle;

	this.getLink=_getLink;

	this.getEndDate=_getEndDate;

	this.getImage=_getImage;

	this.getTeaser=_getTeaser;

	this.getSolutionArea=_getSolutionArea;

	this.setLink=_setLink;

	this.setEndDate=_setEndDate;

	this.setImage=_setImage;

	this.setTeaser=_setTeaser;

	this.setSolutionArea=_setSolutionArea;

  function _getTitle(){

	      return this.title;

	}

	function _getLink(){

      	return this.link;

	}

	function _setLink(lnk){

		this.link = lnk;

	}

	function _getEndDate(){

      	return this.end_date;

	}

	function _setEndDate(edate){

		this.end_date = edate;

	}

	function _getImage(){

      	return	this.image;

	}

	function _setImage(img){

      	this.image=img;

	}    

	function _getTeaser(){

      	return this.teaser;

	}

	function _setTeaser(tsr){

		this.teaser = tsr;

	}

	function _getSolutionArea(){

		return this.solutionArea;

	}

	function _setSolutionArea(soln){

		this.solutionArea = soln;

	}

}



function NewsSfs(tle){

	this.title=tle;

	this.link;

	this.image;

	this.teaser;

	this.getTitle=_getTitle;

	this.getLink=_getLink;

	this.getImage=_getImage;

	this.getTeaser=_getTeaser;

	this.setLink=_setLink;

	this.setImage=_setImage;

	this.setTeaser=_setTeaser;

	

  function _getTitle(){

	      return this.title;

	}

	function _getLink(){

      	return this.link;

	}

	function _setLink(lnk){

		this.link = lnk;

	}

	function _getImage(){

      	return	this.image;

	}

	function _setImage(img){

      	this.image=img;

	}    

	function _getTeaser(){

      	return this.teaser;

	}

	function _setTeaser(tsr){

		this.teaser = tsr;

	}

}



function EventsSfs(tle){

	this.title=tle;

	this.link;

	this.date;

	this.location;

	this.getTitle=_getTitle;

	this.getLink=_getLink;

	this.getDate=_getDate;

	this.getLocation=_getLocation;

	this.setLink=_setLink;

	this.setDate=_setDate;

	this.setLocation=_setLocation;

	

	function _getTitle(){

	      return this.title;

	}

	function _getLink(){

      	return this.link;

	}

	function _setLink(lnk){

		this.link = lnk;

	}

	function _getDate(){

      	return	this.date;

	}

	function _setDate(dat){

      	this.date=dat;

	}    

	function _getLocation(){

      	return this.location;

	}

	function _setLocation(loc){

		this.location = loc;

	}

}



function UtfToUnicode(utf) {

  var tstr = utf;

  var bstr = '';

  for(i=0; i<tstr.length; i++){

      bstr += '&#' + tstr.charCodeAt(i) + ';';

  }

  return bstr;

}





function formatField(field) { 	

    field=field.toLowerCase();	

    field=field.replace(/\+/g,"");	

    field=field.replace(/\*/g,"");	

    field=field.replace(/\,/g,"");	

    field=field.replace(/\-/g,"");	

    field=field.replace(/\&/g,"");	

    field=field.replace(/\s/g,"");	

    field=field.replace(/\]/g,"");	

    field=field.replace(/\[/g,"");	

    field=field.replace(/\(/g,"");	

    field=field.replace(/\)/g,"");	

    field=field.replace(/\#/g,"");	

    field=field.replace(/\//g,"");

    field=field.replace(/\&/g,"");

    field=field.replace(/\@/g,"");

    field=field.replace(/\_/g,"");

    field=field.replace(/\'/g,"");

    field=field.replace(/\"/g,"");

    field=field.replace(/\;/g,"");

    field=field.replace(/\:/g,"");

    field=field.replace(/\%/g,"");

    field=field.replace(/\</g,"");

    field=field.replace(/\>/g,"");

    return field;	

}






