var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105875&x=4318',
		'title': '',
		'imageId': '70105875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105868&x=4318',
		'title': '',
		'imageId': '70105868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105877&x=4318',
		'title': '',
		'imageId': '70105877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105878&x=4318',
		'title': '',
		'imageId': '70105878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105876&x=4318',
		'title': '',
		'imageId': '70105876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105872&x=4318',
		'title': '',
		'imageId': '70105872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105859&x=4318',
		'title': '',
		'imageId': '70105859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105879&x=4318',
		'title': '',
		'imageId': '70105879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105870&x=4318',
		'title': '',
		'imageId': '70105870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105865&x=4318',
		'title': '',
		'imageId': '70105865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105863&x=4318',
		'title': '',
		'imageId': '70105863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105867&x=4318',
		'title': '',
		'imageId': '70105867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105871&x=4318',
		'title': '',
		'imageId': '70105871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105874&x=4318',
		'title': '',
		'imageId': '70105874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105862&x=4318',
		'title': '',
		'imageId': '70105862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105866&x=4318',
		'title': '',
		'imageId': '70105866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105864&x=4318',
		'title': '',
		'imageId': '70105864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105869&x=4318',
		'title': '',
		'imageId': '70105869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105861&x=4318',
		'title': '',
		'imageId': '70105861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105873&x=4318',
		'title': '',
		'imageId': '70105873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=70105860&x=4318',
		'title': '',
		'imageId': '70105860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=59270515&x=4318',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012376&docid=59270516&x=4318',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012376';

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