var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737588&x=549',
		'title': '',
		'imageId': '68737588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737589&x=549',
		'title': '',
		'imageId': '68737589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737590&x=549',
		'title': '',
		'imageId': '68737590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737593&x=549',
		'title': '',
		'imageId': '68737593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737594&x=549',
		'title': '',
		'imageId': '68737594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737595&x=549',
		'title': '',
		'imageId': '68737595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737596&x=549',
		'title': '',
		'imageId': '68737596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737597&x=549',
		'title': '',
		'imageId': '68737597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737591&x=549',
		'title': '',
		'imageId': '68737591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956478&docid=68737592&x=549',
		'title': '',
		'imageId': '68737592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956478';

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