$(document).ready(function() {

$('#wp_gallery_pg_1').wpgallery({
	imageArray: wp_imgArray_pg_1,
	nTotalImages: nImgNum_pg_1,
	nGalleryLeft: 201,
	nGalleryTop: 18,
	nGalleryWidth: 390,
	nGalleryHeight: 310,
	nImageDivLeft: 0,
	nImageDivTop: 0,
	nImageDivWidth: 390,
	nImageDivHeight: 310,
	nControlBarStyle: 0,
	nControlBarExternalTop: 10,
	bNavBarOnTop: true,
	bShowNavBar: false,
	nNavBarAlignment: 0,
	strNavBarColour: 'none',
	nNavBarOpacity: 1.0,
	nNavBarIconWidth: 24,
	nNavBarIconHeight: 24,
	bShowCaption: false,
	bCaptionCount: true,
	strCaptionColour: '#494949',
	nCaptionOpacity: 0.6,
	strCaptionTextColour: '#000000',
	nCaptionFontSize: 12,
	strCaptionFontType: 'Courier New,Arial,_sans',
	strCaptionAlign: 'center',
	strCaptionFontWeight: 'normal',
	bShowThumbnails: false,
	nThumbStyle: 1,
	nThumbPosition: 0,
	nThumbLeft: 30,
	nThumbTop: 200,
	nThumbOpacity: 0.5,
	nTotalThumbs: 5,
	nThumbSize: 40,
	nThumbSpacing: 10,
	bThumbBorder: true,
	strThumbBorderColour: '#000000',
	strThumbBorderHoverColour: '#494949',
	strThumbBorderActiveColour: '#494949',
	bShowThumbnailArrows: true,
	nThumbButtonSize: 24,
	nThumbButtonIndent: 50,
	nColBorderWidth: 2,
	nTransitionStyle: 1,
	nStaticTime: 2500,
	nTransitTime: 700,
	bAutoplay: true,
	loadingButtonSize: 38,
	bPageCentred: true,
	nPageWidth: 750,
	nZIndex: 100,
	loadingButtonSrc: 'wpimages/wpgallery_loading_1.gif',
	blankSrc: 'wpscripts/blank.gif',
	rewindButtonSrc: 'wpimages/wpgallery_rewind_0.png',
	prevButtonSrc: 'wpimages/wpgallery_previous_0.png',
	playButtonSrc: 'wpimages/wpgallery_play_0.png',
	pauseButtonSrc: 'wpimages/wpgallery_pause_0.png',
	nextButtonSrc: 'wpimages/wpgallery_next_0.png',
	forwardButtonSrc: 'wpimages/wpgallery_forward_0.png',
	thumbRewindButtonSrc: 'wpimages/wpgallery_rewind_0.png',
	thumbForwardButtonSrc: 'wpimages/wpgallery_forward_0.png',
	rewindoverButtonSrc: 'wpimages/wpgallery_rewind_over_0.png',
	prevoverButtonSrc: 'wpimages/wpgallery_previous_over_0.png',
	playoverButtonSrc: 'wpimages/wpgallery_play_over_0.png',
	pauseoverButtonSrc: 'wpimages/wpgallery_pause_over_0.png',
	nextoverButtonSrc: 'wpimages/wpgallery_next_over_0.png',
	forwardoverButtonSrc: 'wpimages/wpgallery_forward_over_0.png',
	thumboverRewindButtonSrc: 'wpimages/wpgallery_rewind_over_0.png',
	thumboverForwardButtonSrc: 'wpimages/wpgallery_forward_over_0.png',
	strRewindToolTip: 'Reverse',
	strPreviousToolTip: 'Previous',
	strPlayToolTip: 'Play',
	strPauseToolTip: 'Pause',
	strNextToolTip: 'Next',
	strForwardToolTip: 'Forward',
	strThumbRewindToolTip: 'Reverse',
	strThumbForwardToolTip: 'Forward'
});

})
