var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531584&x=450',
		'title': '',
		'imageId': '69531584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531582&x=450',
		'title': '',
		'imageId': '69531582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531576&x=450',
		'title': '',
		'imageId': '69531576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531581&x=450',
		'title': '',
		'imageId': '69531581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531577&x=450',
		'title': '',
		'imageId': '69531577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531579&x=450',
		'title': '',
		'imageId': '69531579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531580&x=450',
		'title': '',
		'imageId': '69531580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531583&x=450',
		'title': '',
		'imageId': '69531583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531578&x=450',
		'title': '',
		'imageId': '69531578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991994&docid=69531585&x=450',
		'title': '',
		'imageId': '69531585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991994';

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