var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181750&x=448',
		'title': '',
		'imageId': '71181750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181767&x=448',
		'title': '',
		'imageId': '71181767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181778&x=448',
		'title': '',
		'imageId': '71181778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181751&x=448',
		'title': '',
		'imageId': '71181751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181731&x=448',
		'title': '',
		'imageId': '71181731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181734&x=448',
		'title': '',
		'imageId': '71181734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181732&x=448',
		'title': '',
		'imageId': '71181732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181733&x=448',
		'title': '',
		'imageId': '71181733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181735&x=448',
		'title': '',
		'imageId': '71181735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181748&x=448',
		'title': '',
		'imageId': '71181748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181749&x=448',
		'title': '',
		'imageId': '71181749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181753&x=448',
		'title': '',
		'imageId': '71181753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181755&x=448',
		'title': '',
		'imageId': '71181755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181762&x=448',
		'title': '',
		'imageId': '71181762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181764&x=448',
		'title': '',
		'imageId': '71181764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181769&x=448',
		'title': '',
		'imageId': '71181769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057206&docid=71181730&x=448',
		'title': '',
		'imageId': '71181730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057206';

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";
	})
}
