var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755549&x=3719',
		'title': '',
		'imageId': '68755549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755550&x=3719',
		'title': '',
		'imageId': '68755550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755551&x=3719',
		'title': '',
		'imageId': '68755551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755552&x=3719',
		'title': '',
		'imageId': '68755552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755553&x=3719',
		'title': '',
		'imageId': '68755553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755554&x=3719',
		'title': '',
		'imageId': '68755554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755555&x=3719',
		'title': '',
		'imageId': '68755555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755556&x=3719',
		'title': '',
		'imageId': '68755556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755557&x=3719',
		'title': '',
		'imageId': '68755557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755558&x=3719',
		'title': '',
		'imageId': '68755558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755559&x=3719',
		'title': '',
		'imageId': '68755559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755560&x=3719',
		'title': '',
		'imageId': '68755560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755561&x=3719',
		'title': '',
		'imageId': '68755561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755562&x=3719',
		'title': '',
		'imageId': '68755562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755563&x=3719',
		'title': '',
		'imageId': '68755563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957283&docid=68755564&x=3719',
		'title': '',
		'imageId': '68755564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957283';

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