var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241590&x=5417',
		'title': '',
		'imageId': '68241590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241589&x=5417',
		'title': '',
		'imageId': '68241589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241593&x=5417',
		'title': '',
		'imageId': '68241593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241594&x=5417',
		'title': '',
		'imageId': '68241594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241595&x=5417',
		'title': '',
		'imageId': '68241595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241596&x=5417',
		'title': '',
		'imageId': '68241596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241592&x=5417',
		'title': '',
		'imageId': '68241592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241597&x=5417',
		'title': '',
		'imageId': '68241597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241591&x=5417',
		'title': '',
		'imageId': '68241591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934647&docid=68241588&x=5417',
		'title': '',
		'imageId': '68241588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934647';

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