/////////////////////////////////////////////////////////////////////////////
//
//                       Copyright (c) 2008
//                       The Other Solutions, Inc.
//                       USA
//
//                       All Rights Reserved
//
//   This source file is subject to the terms and conditions of the
//   The Other Solutions Software License Agreement which restricts the manner
//   in which it may be used.
//   It's strictly forbidden to copy or use without 
//	 written permission unless viewed from the following web sites:
//		www.theothersolutions.com
//   Mail: hve@TheOtherSolutions.com
//
/////////////////////////////////////////////////////////////////////////////
//
// Module name     :   wf_copydata.js
// Module ID Nbr   :   
// Description     :   Javascript data
// --------------------------------------------------------------------------
// Change Record   :   
//
// Version	Author/Date		Description of changes
// -------  ---------------	----------------------
// 01.01	HVE/2008-Sep-17	Initial release.
// End of Change Record
//
/////////////////////////////////////////////////////////////////////////////

var copy_brand_data=new Array;
var copy_data=new Array;

// Class CopySystem
function Copysystem(brand,model,dcon,width,color,scanners,printers,picture,price)
	{
	check(arguments,"Copysystem "+brand+" "+model);
	this.brand=brand;
	this.name=model;
	this.picture=picture;
	this.price=price;
	this.discontinued=dcon;
	this.scanners=scanners;
	this.printers=printers;
	this.width=width;
	this.nocolor=color;
	}
	
//Class Prototype
Copysystem.prototype.toString=function() {var ss=this.brand+":"+this.model+":"+this.price; return ss;}

function init_copy_data()
	{
	for(var i in copy_data) if(copy_data[i] instanceof Copysystem) return; // Already initialized
	
	copy_data["quatram"]=new Copysystem("Paradigm","EIS Quatra M",false,"36:24",2,"SK200:0","JW220:0","Paradigm/Quatra/Images/eisQuatra.jpg",7495);
	copy_data["quatrac"]=new Copysystem("Paradigm","EIS Quatra C",false,"36:24",4,"SK200:0","JW220:0","Paradigm/Quatra/Images/eisQuatra.jpg",8995);
	copy_data["quatrae"]=new Copysystem("Paradigm","EIS Quatra E",false,"36:24",4,"SK200:0","JW220:0","Paradigm/Quatra/Images/eisQuatra.jpg",11495);		
	copy_data["supra"]=new Copysystem("Paradigm","EIS Supra",false,"36:36",5,"SK200:0","iPF710:0","Paradigm/Supra/Images/eisSupra.jpg",16995);
	copy_data["ultima"]=new Copysystem("Paradigm","EIS Ultima II",false,"42:44",12,"CS510:0;CS510 Pro:2000;CS610:4000;CS610 Pro:5000","iPF8100:0","Paradigm/UltimaII/Images/eisUltimaII.jpg",24995);
	copy_data["flex"]=new Copysystem("Paradigm","EIS Flex 3624",false,"36:24",5,"SK200:0","iPF610:2295","Paradigm/Flex/Images/eisFlex.jpg",13995);	
	copy_data["flex1"]=new Copysystem("Paradigm","EIS Flex 3624+",false,"36:24",12,"SK200:0","iPF6100:3495","Paradigm/Flex/Images/eisFlex.jpg",13995);	
	copy_data["flex2"]=new Copysystem("Paradigm","EIS Flex 3636",false,"36:36",5,"SK200:0","iPF710:3995","Paradigm/Supra/Images/eisSupra.jpg",13995);	
	copy_data["flex3"]=new Copysystem("Paradigm","EIS Flex 3644",false,"36:44",8,"SK200:0","iPF8000S:5995","Paradigm/Flex/Images/eisFlex.jpg",13995);		
	copy_data["flex4"]=new Copysystem("Paradigm","EIS Flex 3644+",false,"36:44",12,"SK200:0","iPF8100:5995","Paradigm/Flex/Images/eisFlex.jpg",13995);		
	copy_data["flex5"]=new Copysystem("Paradigm","EIS Flex 4224",false,"42:24",5,"CS510:4000;CS510 Pro:6000;CS610:7000;CS610 Pro:8000","iPF610:2295","Paradigm/Flex/Images/eisFlex.jpg",13995);		
	copy_data["flex6"]=new Copysystem("Paradigm","EIS Flex 4224+",false,"42:24",12,"CS510:4000;CS510 Pro:6000;CS610:7000;CS610 Pro:8000","iPF6100:3495","Paradigm/Flex/Images/eisFlex.jpg",13995);		
	copy_data["flex7"]=new Copysystem("Paradigm","EIS Flex 4236",false,"42:36",5,"CS510:4000;CS510 Pro:6000;CS610:7000;CS610 Pro:8000","iPF710:3995","Paradigm/Flex/Images/eisFlex.jpg",13995);		
	copy_data["flex8"]=new Copysystem("Paradigm","EIS Flex 4244",false,"42:44",8,"CS510:4000;CS510 Pro:6000;CS610:7000;CS610 Pro:8000","iPF8000S:5995","Paradigm/Flex/Images/eisFlex.jpg",13995);		
	copy_data["flex9"]=new Copysystem("Paradigm","EIS Flex 4244+",false,"42:44",12,"CS510:4000;CS510 Pro:6000;CS610:7000;CS610 Pro:8000","iPF8100:5995","Paradigm/Flex/Images/eisFlex.jpg",13995);		

//	copy_data["flex6"]=new Copysystem("Paradigm","EIS Flex",false,"SK200:0;CS510:4000;CS510 Pro:6000;CS610:7000;CS610 Pro:8000","iPF610:2295;iPF710:3995;iPF8100:5995;iPF9000:14995","Paradigm/Flex/Images/eisFlex.jpg",13995);		
//	copy_data["solo"]=new Copysystem("Paradigm","EIS Solo",false,"42:","CS510:0;CS510 Pro:2000;CS610:4000;CS610 Pro:5000","","Paradigm/Solo/Images/eisSolo.jpg",16995);		
//	copy_data["solo"]=new Copysystem("Paradigm","EIS Solo",false,"42:","CS510:0;CS510 Pro:2000;CS610:4000;CS610 Pro:5000","","Paradigm/Solo/Images/eisSolo.jpg",16995);		
//	copy_data["solo"]=new Copysystem("Paradigm","EIS Solo",false,"42:","CS510:0;CS510 Pro:2000;CS610:4000;CS610 Pro:5000","","Paradigm/Solo/Images/eisSolo.jpg",16995);		
//	copy_data["solo"]=new Copysystem("Paradigm","EIS Solo",false,"42:","CS510:0;CS510 Pro:2000;CS610:4000;CS610 Pro:5000","","Paradigm/Solo/Images/eisSolo.jpg",16995);		
//	copy_data["solo"]=new Copysystem("Paradigm","EIS Solo",false,"42:","CS510:0;CS510 Pro:2000;CS610:4000;CS610 Pro:5000","","Paradigm/Solo/Images/eisSolo.jpg",16995);		
	copy_data["turbo"]=new Copysystem("Paradigm","EIS Turbo",false,"36:36",2,"SK200:0","LP1010:0","Paradigm/Turbo/Images/eisTurbo.jpg",20995);		
	copy_data["tos1"]=new Copysystem("TOS","CopyCad",false,"44:36",5,"SP7CS644:0;SP7CS744:1500;SP7CS944:3500","iPF710:3995","TOS/CopyCAd/Images/CopyCad.jpg",14140);		
	copy_data["tos2"]=new Copysystem("TOS","CopyArt",false,"44:44",8,"SP7CS644:0;SP7CS744:1500;SP7CS944:3500","iPF8000S:5995","TOS/CopyArt/Images/CopyArt.jpg",14140);		
	copy_data["tos3"]=new Copysystem("TOS","CopyArt+",false,"44:44",12,"SP7CS644:0;SP7CS744:1500;SP7CS944:3500","iPF8100:5995","TOS/CopyArt/Images/CopyArt.jpg",14140);		
	}

function get_copy_info(model)
	{
	init_copy_data();
	if(arguments.length==0) return undefined;	
	return copy_data[model];
	}
	
// Class Brand
function CopyBrand(brand,picture)
	{
	check(arguments);
	this.brand=brand;
	this.picture=picture;
	}
//Class Prototype
CopyBrand.prototype.toString=function() {var ss=this.brand+":"+this.picture; return ss;}

function init_copy_brand_data()
	{
	for(var i in copy_brand_data) if(copy_brand_data[i] instanceof CopyBrand) return; // Already initialized
	copy_brand_data["paradigm"]=new CopyBrand("Paradigm","Paradigm/Images/Paradigm.jpg");
	copy_brand_data["tos"]=new CopyBrand("TOS","TOS/Images/TOS.jpg");
	}

function get_copy_brand_info(brand)
	{
	init_copy_brand_data();
	if(arguments.length==0) return undefined;
	return copy_brand_data[brand];
	}	
