var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962808&x=3511',
		'title': '',
		'imageId': '68962808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962807&x=3511',
		'title': '',
		'imageId': '68962807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962809&x=3511',
		'title': '',
		'imageId': '68962809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962804&x=3511',
		'title': '',
		'imageId': '68962804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962799&x=3511',
		'title': '',
		'imageId': '68962799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962803&x=3511',
		'title': '',
		'imageId': '68962803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962806&x=3511',
		'title': '',
		'imageId': '68962806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962796&x=3511',
		'title': '',
		'imageId': '68962796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962812&x=3511',
		'title': '',
		'imageId': '68962812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962810&x=3511',
		'title': '',
		'imageId': '68962810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962813&x=3511',
		'title': '',
		'imageId': '68962813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962798&x=3511',
		'title': '',
		'imageId': '68962798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962801&x=3511',
		'title': '',
		'imageId': '68962801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962800&x=3511',
		'title': '',
		'imageId': '68962800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962811&x=3511',
		'title': '',
		'imageId': '68962811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962797&x=3511',
		'title': '',
		'imageId': '68962797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966539&docid=68962805&x=3511',
		'title': '',
		'imageId': '68962805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966539';

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