var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706567&x=055',
		'title': '',
		'imageId': '68706567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706566&x=055',
		'title': '',
		'imageId': '68706566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706571&x=055',
		'title': '',
		'imageId': '68706571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706570&x=055',
		'title': '',
		'imageId': '68706570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706572&x=055',
		'title': '',
		'imageId': '68706572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706576&x=055',
		'title': '',
		'imageId': '68706576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706579&x=055',
		'title': '',
		'imageId': '68706579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706584&x=055',
		'title': '',
		'imageId': '68706584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706581&x=055',
		'title': '',
		'imageId': '68706581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955337&docid=68706569&x=055',
		'title': '',
		'imageId': '68706569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955337';

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