    /*
	This structure holds all Ads available for usage in the Pages structure.
	Ad is defined by:
		title - use as value for the <a title=""> attribute of the ad link
		url - the url that the link points to
		img - image to be used for the ad
		warning [optional] (false/true) - disabling the going out of the site popup
		
	All ads in the structure hold specific name which is used later as reference.
	
	Example:
		armstrong: {
			title: 'Thetis Ventures Corporation',
			url: 'http://thetis.com',
			img: 'thetis.jpg',
			warning: false
		}
*/
var ads = {
	eff: {
		title: 'Let The Music Play: Join EFF Today',
		url: 'http://www.eff.org',
		img: 'eff.png',
		warning: false
	},
	creativecommons: {
		title: 'Creative Commons',
		url: 'https://support.creativecommons.org/donate',
		img: 'cc.png',
        warning: false
	},
	charitywater: {
		title: 'Charity Water ',
		url: 'http://charitywater.org/whywater/',
		img: 'charitywater.png',
        warning: false
	},
	bedtees: {
		title: 'Bed Tees',
		url: 'http://BedTees.com',
		img: 'ad2.gif',
        warning: false
	},
    pizzaexperiment: {
		title: 'Pizza Experiment',
		url: 'http://pizzaexperiment.com/guest_pizza_offer/',
		img: 'pizzaexperiment.png',
        warning: false
	},
	reliablestudents: {
		title: 'Reliable Students',
		url: 'http://reliablestudents.com/privateinvite/',
		img: 'reliablestudents.png',
        warning: false
	}
};


/*
	Page structure holds definitions for all pages in the website. Pages are later used in menus by reference name.

	Page is defined by:
		title - title of the page,
		content - [optional] name of .html file to be opened as content of the page. 
			If not specified it will look for html with the reference name.
			If the reference name is home, it will look for CONTENT/HOME.HTML.
			All files should be located in the content folder.
		ads - [optional] holds array of array of references to the ADS structure, 
			if omitted ads for this page will be the same as the ads from the previous page.
		params - [optional] used as a placeholder for additional parameters, currently there is only one length, used 	
			for creating a brief of the page in a box, and adding read more button after that length.
			
    Important note: Ignore the registrar_1_modal that's presented below, it's something we are no longer using.

	Example:
		home: {
			title: 'Home',
			content: 'home.html',
			ads: [['relaiblestudents'], ['cc'], ['bedtees']],
			params: {
				length: 50
			}
		}
*/
var pages = {
	your_services: {
		title: 'Student Services'
	},
	home: {
		title: 'Home',
		content: 'home.html',
		ads: [['pizzaexperiment'], ['eff']]
	},
	find_your_school: {
		title: 'Find Your School',
		content: 'find_your_school.html',
		ads: [['reliablestudents']]
	},
	student_gigs_and_jobs: {
		title: 'Jobs  &amp; Gigs for Students',
		content: 'student_gigs_and_jobs.html',
		ads: [['reliablestudents'], ['charitywater']]
	},
	get_a_credit_card_now: {
		title: 'Get a Credit Card',
		content: 'get_a_credit_card_now.html',
		ads: [['pizzaexperiment'], ['charitywater']]
	},
	access_student_loans: {
		title: 'Access Student Loans',
		content: 'access_student_loans.html',
		ads: [['reliablestudents'], ['creativecommons']]
	},
	cars_and_travel: {
		title: 'Cars &amp; Travel',
		content: 'cars_and_travel.html',
		ads: [['charitywater']]
	},
	shop_deals_and_gear: {
		title: 'Shop Deals &amp; Gear',
		content: 'shop_deals_and_gear.html',
		ads: [['pizzaexperiment'], ['creativecommons']]
	},
	student_loans: {
		title: 'Student Loans'
	},
	insurance: {
		title: 'Insurance'
	},
	credit_cards: {
		title: 'Credit Cards'
	},
	auto_loans: {
		title: 'Auto Loans'
	},
	about_us: {
		title: 'About Us'
	},
	contact_us: {
		title: 'Contact Us'
	},
	registrar_2_modal: {
		title: 'Registrar 2',
		content: 'This is temporary content used for testing.',
		params: {
			length: 50
		}
	}
};

/*
	The modals structure is used to define all modal window pages.
	
	The structure needs a reference name for the modal. And the following attributes:
		title - title of the modal
		params - holding additional settings for the modal
			size - array with the width/height of the modal
			show_curtain - [optional] (true/false) true by default, disables the black cover when modal is open
	
	Example:
		terms: {
			title: 'Terms &amp; Conditions',
			params: {
				size: [600, 300],
				show_curtain: true
			}
		}
*/
var modals = {
	terms: {
		title: 'Terms &amp; Conditions',
		params: {
			size: [650, 550],
			show_curtain: true,
			iframe: true
		}
	},
	privacy: {
		title: 'Privacy Policy',
		params: {
			size: [650, 550],
			show_curtain: true,
			iframe: true
		}
	},
	notices: {
		title: 'Legal Notices &amp; Trademarks',
		params: {
			size: [650, 550],
			show_curtain: true,
			iframe: true
		}
	},
	join_now: {
		title: 'Join Now!',
		params: {
			size: [650, 650],
			show_curtain: true,
			iframe: true
		}
	},
	your_services: {
		title: 'Your Services',
	},
    guided_tour: {
        title: 'Guided Tour',
        params: {
            size: [700, 600],
            show_curtain: true,
            iframe: true
        }
    },
    faq: {
        title: 'FAQ',
        params: {
            size: [650, 550],
            show_curtain: true,
            iframe: true
        }
    },
	external: {
		title: 'External link',
		params: {
			size: [300, 200],
			show_curtain: false
		}
	}
};

/*
	Boxes is structure that holds reusable elements for the pages.
	They are defined as DIV tags in the content of the page and later replace with the content based on their reference name.
	You need DIV with class="box" and id="REFERANCE_NAME"
	
	Example: (home.html)
	<div class="box1 box" id="home_registrar_box"></div>
	
	Example: home box structure
		home_registrar_box: {
			title: 'Registrar, Your First Stop',
			content: '\
				<div id="registrar_1_modal" class="text"></div>\
				<p>Find your school, we have tools to help ou discover <a href="#find_your_school" rel="find_your_school" class="page btn_readmore">read more</a>\
				<p>Making money is often a good thing, jobs can be found <a href="#student_gigs_and_jobs" rel="student_gigs_and_jobs" class="page btn_readmore">read more</a>\
				<p>Credit cards are useful when you\'re at school or travelling <a href="#get_a_credit_card_now" rel="get_a_credit_card_now" class="page btn_readmore">read more</a>\
				<p>Student loans and other ways to pay for school and <a href="#access_student_loans" rel="access_student_loans" class="page btn_readmore">read more</a>\
				'
		}
		
	NOTE: Similar to the boxes works the <div class="text" id="REFERENCE_NAME"> where REFERENCE_NAME is element of the PAGES structure.
		(That is why we have length there, for such replacements)
*/
var boxes = {
	home_registrar_box: {
		title: 'Registrar.com services are available without sign-up, though when you join receive invitation codes good for discounts and more...',
		content: '\
			<p><a href="#find_your_school" rel="join_now" class="page btn_readmore">Get Invited</a>\
			'
	},
	welcome_homepage_box: {
		title: 'Welcome college applicants and students. Explore the <em>free</em> services offered at <em>Registrar.com</em>, find your match.',
		content: 'Are you ready to find the <em>right school</em>, perhaps a <em>student loan</em>, make some extra cash and have the right <em>credit card</em>. We take a common sense approach to exploring alternatives. Diligence is key, from the <em>secrets</em> of getting in to how to get your loan. See if we can help with what you want, you don\'t have to sign up unless you want to <em>get invited</em>.'
		},
	welcome_finding_school_box: {
		title: '<em>Deciding</em> which school',
		content: 'Making the <em>which-school-decision</em> requires preparation, examine the details, consult an advisor if you\'re uncertain and don\'t borrow more than you can afford to repay no matter how attractive it may appear.'
		},
	welcome_jobs_box: {
		title: 'Having <em>Extra cash</em> helps',
		content: '<em>Getting a part-time job</em>, work experience and some extra income to help cover expenses and extravagances is something to be considered. It\'s an option, it\'s also not something you want to do when your grades are suffering, keeping the right balance can be tricky. Explore various position for virtual work you can do from your dorm room or perhaps take the occasional gig helping at trade fairs to gain sales experience.'
		},
	welcome_cc_box: {
		title: 'Getting <em>Credit Cards</em>',
		content: '<em>Getting a credit card</em> is almost a right of passage, you want to start building your credit history and one of the best ways to do this is to get a credit card and use it prudently. We have a few tips for you, start by reading as much as you can about the different offerings.'
		},
	welcome_student_loans_box: {
		title: 'Getting the <em>Student Loan</em>',
		content: 'You may be <em>eligible to borrow</em> for your education from the government or privately. We\'re here to help you better understand the options and possibly connect you with the right lender. As always, use diligence when pursuing any financial relationship and borrow only as much as you feel comfortable paying back.'
		},
	welcome_cars_travel_box: {
		title: '<em>Freedom</em> and ease',
		content: '<em>Traveling to visit schools</em> while you\'re deciding which one to attend can get expensive, if you plan a little bit ahead you can save on airline and hotel costs. And let us not forget about visiting friends, spring break and trips home, this all adds up and can often be planned ahead. '
		},
	welcome_deals_gear_box: {
		title: '<em>Deals</em>, finding the gear you need',
		content: 'Whether you\'re thinking about a <em>faster notebook</em> with more storage or getting rid of your old phone for one with a better browser there are deals to be had. We\'re on the lookout for deals and the latest <em>product announcements</em>, this is the place to read about it.'
	},
	home_student_loans_box: {
		title: '<em>Loans</em> For Students',
		content: '\
			<p>Getting your check may be easier than you ever imagined, we may be able to connect you with a resource ready to help you immediately. </p><p>Of course you\'ve heard  some lenders are having difficulty in these challenging economic times, but many are working aggressively to make student loans, give you car loans and offer credit cards for going of to college.</p>\
			<p>Start with the fafsa form. Before doing anything else learn about FAFSA and the <a href="http://www.fafsa.ed.gov/before012.htm">FAFSA worksheet</a>. You can then <a href="http://www.fafsa.ed.gov/complete001.htm">fill out the FAFSA form online</a></p>\
			'
	},
	find_school_helpful_tips_box: {
		title: 'Which School?',
		content: '\
			<p>Have you made a list of your top five choices?</p>\
			<p>We\'re here to help. Whether you\'re interested in political science or math, design or Russian lit, there\'s a lot of choice.</p>\
			<p>Tips from experts, current university students and profs are the easiest way to discover which one is for you.</p>\
			<p>Start with the articles in the adjacent column, perhaps arrange a conference and make a school visit.</p>\
			'
	},
	travel_helpful_tips_box: {
		title: 'Travel Tips',
		content: '\
			<p>Getting around in your own car or traveling by plane?</p>\
			<p>Did you know that many students who are eligible  to loans don\'t apply because they either don\'t know they are entitled or they don\'t know where to apply?</p>\
			<p>Or that parents may have more options than they think for solve payment problems.</p>\
			<p>Invest a few minutes looking around, let us know if there are answers you would like to see moved up in priority on this site, it helps everyone when you help us improve the articles and offers.</p>\
			'
	},
	jobs_helpful_tips_box: {
		title: 'Gigs, Jobs and your Resume',
		content: '\
			<p>Job experience is key in tough economic times. Showing prospective employers you know what you\'re doing can move you up the list.</p>\
			<p>Or maybe just some extra cash. Finding a gig or part-time employment is not too difficult if you know where to look.</p>\
			<p>Checking the job boards on campus to using the anonymous list\'s work, but finding a good situation is harder.</p>\
			<p>We\'ve invested some time exploring the best ways to find jobs and gigs, stay tuned here for more tips.</p>\
			'
	},
	deals_helpful_tips_box: {
		title: 'Looking for a new laptop, phone or gadget or stuff for your room?',
		content: '\
			<p>There\'s a lot of choice when it comes to buying on-line these days. And a lot of headache when you have to return goods if you buy from the wrong store.</p>\
			<p>And the lowest price is not necessarily the best deal. But you knee that already.</p>\
			<p>But did you know about the shipping scams and disguised subscriptions that start billing your credit card over and over?</p>\
			<p>Become a better shopper, find deals, get discounts, discover great new products.</p>\
			'
	},
	cc_helpful_tips_box: {
		title: 'Choosing the right card',
		content: '\
			<p>Did you know that some banks offer special cards for students?</p>\
			<p>And making the decision as to whether a debit or credit card is for you is one not to me made lightly.</p>\
			<p>Be protected in the event of emergency, have the right card, be ready for your next trip to the mall, travels with friends and trips home.</p>\
			<p>Make a point of reading the details for any card application you submit, know the interest rates and annual fees, don\'t just look at rewards programs and special offers, explore all the cards before you decide.</p>\
			'
	},
	sl_helpful_tips_box: {
		title: 'Types of Loans',
		content: '\
			<p><em>FEDERAL STUDENT LOANS</em> </p>\
			<p>With the elections coming up and the private loans market putting the weaker players in the dog house you should learn everything you can about Federal programs on the table.</p>\
			<p><em>PRIVATE LOANS</em></p>\
			In 2007 the private loans market was approximately 115 billion dollars. Talk with us, we know how to do this right.</p>\
			<p><em>SCHOLARSHIPS AND GRANTS</em></p>\
			<p>It\'s good to be realistic. Many students consider themselves needy however there is a lot of competition for dollars awarded to the talented and needy. A lot depends on you parents, though if you are a grad student the process is slightly different.</p>\
			'
	},
	photo_contest_box: {
		title: 'Photography Walks',
		content: '\
    		<p>We\'re inviting creative student photographers to join us in designing PhotographyWalks.com exhibitions.</p><br>\
    		<p>If you\'re interested please check back for our invitations list announcement, the invites link will be posted here.</p>\
			'
	},
	video_box: {
        title: 'Student video',
		content: '\
			'
	}
};

// Menus
/*
	Structures for the menu creation. Their names do not follow any naming pattern.
	They need the "tree" element which holds the elements of the menu.
	The elements of the tree are REFERENCE_NAME to the Pages structure.
	they can hold two attributes
		type - (page / modal)
		cls - [optional] class to be put to the LINK, used for additional styling and control
*/
var header_menu_config = {
	tree: {
		your_services: {type: 'page', cls: 'your_services'},
		guided_tour: {type: 'modal'},
		join_now: {type: 'modal', cls: 'join_now'},
		faq: {type: 'modal'}
	}
};
var slideshow_menu_config = {
	tree: {
		find_your_school: {type: 'page'},
		student_gigs_and_jobs: {type: 'page'},
		get_a_credit_card_now: {type: 'page'},
		access_student_loans: {type: 'page'},
		cars_and_travel: {type: 'page'},
		shop_deals_and_gear: {type: 'page'}
	}
};
var footer_menu_config = {
	tree: {
		home: {type: 'page'},
		find_your_school: {type: 'page'},
		student_gigs_and_jobs: {type: 'page'},
		get_a_credit_card_now: {type: 'page'},
		access_student_loans: {type: 'page'},
		cars_and_travel: {type: 'page'},
		shop_deals_and_gear: {type: 'page'}
	}
};
var copyright_menu_config = {
	tree: {
		terms: {type: 'modal'},
		privacy: {type: 'modal'},
		notices: {type: 'modal'}
	}
};

/*
	The slide show configuration structure does not follow any naming pattern.
	This structure is used as configuration for the Slideshow class.
	It holds the following attributes (all times are in miliseconds):
		options - holds structure with options
			delay - delay between slide changes, between the complete fadeIn of the element to the begining of its fadeOut
			fadeInSpeed - how long it will take for the element to fadeIn
			fadeOutSpeed - how long it will take to fadeOut
			captionSpeed - how long it will take for the caption to fadeIn
			cpationDelay - how long between the start of fadeIn of the element and the fadeIn of the caption
			order - (random, sequence) - random or sequential order of the elements (both image and caption)
		slides - holds the captions for the slides
			text - the text of the caption
			
	NOTE: The slide images are in the img/slideshow folder and are named 0, 1, 2 ... n. 
		The number of slide images used depends on the number of slide elements defined.
	
	Example:
		options: {
			delay: 4000,
			fadeInSpeed: 2000,
			fadeOutSpeed: 2000,
			captionSpeed: 2000,
			captionDelay: 1000,
			order: 'random' // 'sequence' // 'random'
			},
		slides: [
			{text: 'One'},
			{text: 'Two'},
			]
		};
	
*/
// Slideshow
var slideshow_config = {
    options: {
        delay: 7000,
        fadeInSpeed: 2000,
        fadeOutSpeed: 2000,
        captionSpeed: 900,
        captionDelay: 500,
        showDelay: 0,
        order: 'random' // 'sequence' // 'random'
        },
    total: 21,
	image_to_rotate: 7,
	image_rotate_repeat: 5,
	
    captions: [
        {text: 'Tuition vs intuition, start with a plan...'},
        {text: 'Prepare early...'},
        {text: 'Doing what you feel is the right thing for you...'},
        {text: 'Costs are lower at some state schools...'},
        {text: 'Shop around for the best deal...'},
        {text: 'Look at credit cards before you decide...'},
        {text: 'Choosing where, scheduling visits...'},
        {text: 'How much you can afford...'},
        {text: 'Better test scores give you more choices..'},
        {text: 'Consider not following the herd...'},
        {text: 'What about a state school...'},
        {text: 'A college advisor might be able to help...'},
        {text: 'Find out about student loans...'},
        {text: 'What about an online degree...'}
        ]
    };