var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704582&x=20',
		'title': '',
		'imageId': '68704582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704583&x=20',
		'title': '',
		'imageId': '68704583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704584&x=20',
		'title': '',
		'imageId': '68704584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704585&x=20',
		'title': '',
		'imageId': '68704585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704586&x=20',
		'title': '',
		'imageId': '68704586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704590&x=20',
		'title': '',
		'imageId': '68704590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704595&x=20',
		'title': '',
		'imageId': '68704595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704596&x=20',
		'title': '',
		'imageId': '68704596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704599&x=20',
		'title': '',
		'imageId': '68704599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955272&docid=68704581&x=20',
		'title': '',
		'imageId': '68704581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955272';

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