var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102107&x=2330',
		'title': '',
		'imageId': '69102107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102106&x=2330',
		'title': '',
		'imageId': '69102106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102110&x=2330',
		'title': '',
		'imageId': '69102110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102108&x=2330',
		'title': '',
		'imageId': '69102108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102109&x=2330',
		'title': '',
		'imageId': '69102109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102111&x=2330',
		'title': '',
		'imageId': '69102111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102112&x=2330',
		'title': '',
		'imageId': '69102112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102113&x=2330',
		'title': '',
		'imageId': '69102113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102115&x=2330',
		'title': '',
		'imageId': '69102115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973273&docid=69102114&x=2330',
		'title': '',
		'imageId': '69102114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973273';

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