var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847077&x=322',
		'title': '',
		'imageId': '69847077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847082&x=322',
		'title': '',
		'imageId': '69847082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847085&x=322',
		'title': '',
		'imageId': '69847085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847081&x=322',
		'title': '',
		'imageId': '69847081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847074&x=322',
		'title': '',
		'imageId': '69847074',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847068&x=322',
		'title': '',
		'imageId': '69847068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847084&x=322',
		'title': '',
		'imageId': '69847084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847080&x=322',
		'title': '',
		'imageId': '69847080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847069&x=322',
		'title': '',
		'imageId': '69847069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847072&x=322',
		'title': '',
		'imageId': '69847072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847076&x=322',
		'title': '',
		'imageId': '69847076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847073&x=322',
		'title': '',
		'imageId': '69847073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847070&x=322',
		'title': '',
		'imageId': '69847070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847083&x=322',
		'title': '',
		'imageId': '69847083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847078&x=322',
		'title': '',
		'imageId': '69847078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847079&x=322',
		'title': '',
		'imageId': '69847079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847071&x=322',
		'title': '',
		'imageId': '69847071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005326&docid=69847075&x=322',
		'title': '',
		'imageId': '69847075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005326';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
