				////////////////////////////////////////////////////////////////////
				//
				//  V I S I T O R  R E V I E W | widget implementation
				//  support@digitalvisitor.com | tel: +44 (0) 1179 055 195
				//
				////////////////////////////////////////////////////////////////////

				window.onload = function(){

					__vr.load({

						key: '2f162766-d4b7-11e0-a26b-4040b2058987-l2db1dd46', // This should be changed to your API key
						oauth: true,
						onReady: function(){
							__vr.widgets.state({
                                                            //Change the tagText to change the state dropdown button text  
								tagText: 'Log in <em>Sign up</em>'//, className: 'state'
                                                                //uncomment the end of the line above to enable the login box as part of the page, and insert a div with class of "state" into your page where you want it to appear
                                                        });

							__vr.widgets.buttons({
								className: 'buttons', //this is the class name for the container of the buttons
								labels: {
									review: 'Post a Review', //change this to change the text of the button to post a review
									discuss: 'Post Your Experience', //change this to change the text of the button to post a discussion
									watch: 'Add to Watch List' //change this to change the text of the button to add something to the watch list
								},

								style: {
									watch: {
										height: '32px', // Sets the height of the watch iframe
										width: '180px', // Sets the width of the watch iframe
										css: 'body {}.on{}' // First set of brackets sets the css styling for the internal elements of the watch iframe, the brackets after ".on" set the css for the same when the button is unclickable
									}
								}
							});

							__vr.widgets.feed({
								className: 'feed', //this is the class name for the container of the review/discussion feed
								labels: {
									all: 'Reviews & Discussions', //change this to change the text of the tab showing all content
									discussions: 'Discussions', //change this to change the text of the tab showing discussions
									reviews: 'Reviews' //change this to change the text of the tab showing discussions
								}
							});

							__vr.widgets.average({ className: 'averageRating' }); //this is the class name for the container of the average star rating

						}

					});

				 }
