var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414118&x=636',
		'title': '',
		'imageId': '69414118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414119&x=636',
		'title': '',
		'imageId': '69414119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414120&x=636',
		'title': '',
		'imageId': '69414120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414132&x=636',
		'title': '',
		'imageId': '69414132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414125&x=636',
		'title': '',
		'imageId': '69414125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414121&x=636',
		'title': '',
		'imageId': '69414121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414126&x=636',
		'title': '',
		'imageId': '69414126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414129&x=636',
		'title': '',
		'imageId': '69414129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414130&x=636',
		'title': '',
		'imageId': '69414130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414122&x=636',
		'title': '',
		'imageId': '69414122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414123&x=636',
		'title': '',
		'imageId': '69414123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414124&x=636',
		'title': '',
		'imageId': '69414124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414127&x=636',
		'title': '',
		'imageId': '69414127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414128&x=636',
		'title': '',
		'imageId': '69414128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414131&x=636',
		'title': '',
		'imageId': '69414131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414133&x=636',
		'title': '',
		'imageId': '69414133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414134&x=636',
		'title': '',
		'imageId': '69414134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414135&x=636',
		'title': '',
		'imageId': '69414135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414136&x=636',
		'title': '',
		'imageId': '69414136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69414137&x=636',
		'title': '',
		'imageId': '69414137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69559332&x=636',
		'title': '',
		'imageId': '69559332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69559333&x=636',
		'title': '',
		'imageId': '69559333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986422&docid=69559334&x=636',
		'title': '',
		'imageId': '69559334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986422';

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